Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 101.9 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 239.7 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 192 kB / 290.9 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5743/0.5743, allocations: 78.56 MB / 420.6 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003956, allocations: 12 kB / 0.4887 GB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1698, allocations: 69.36 MB / 0.5564 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.3761/0.5459, allocations: 6.013 MB / 0.5623 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.5507, allocations: 1.972 MB / 0.5642 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008618/0.5516, allocations: 11.69 kB / 0.5642 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.5522, allocations: 181.7 kB / 0.5644 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.554, allocations: 0.6255 MB / 0.565 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.5554, allocations: 0.5654 MB / 0.5656 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.5568, allocations: 1.42 MB / 0.567 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.5573, allocations: 271.3 kB / 0.5672 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007869/0.558, allocations: 0.5535 MB / 0.5678 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007645/0.5588, allocations: 0.704 MB / 0.5684 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.559, allocations: 58.84 kB / 0.5685 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.5594, allocations: 184.8 kB / 0.5687 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.5598, allocations: 253.7 kB / 0.5689 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.5601, allocations: 230.6 kB / 0.5691 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.5613, allocations: 1.238 MB / 0.5703 GB, free: 35.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5613, allocations: 0 / 0.5703 GB, free: 35.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5613, allocations: 0.625 kB / 0.5704 GB, free: 35.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.5613, allocations: 0 / 0.5704 GB, free: 35.6 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.007185/0.5685, allocations: 2.588 MB / 0.5729 GB, free: 34.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5686, allocations: 9.031 kB / 0.5729 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/0.5733, allocations: 0.7899 MB / 0.5737 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.575, allocations: 0.8428 MB / 0.5745 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.5752, allocations: 228.9 kB / 0.5747 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5753, allocations: 85.72 kB / 0.5748 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.5777, allocations: 1.246 MB / 0.576 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.5777, allocations: 6.672 kB / 0.576 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.5778, allocations: 29.25 kB / 0.576 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.5779, allocations: 25.52 kB / 0.5761 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.5799, allocations: 1.167 MB / 0.5772 GB, free: 33.44 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.5857, allocations: 3.783 MB / 0.5809 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.5877, allocations: 1.587 MB / 0.5824 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.5891, allocations: 0.8572 MB / 0.5833 GB, free: 30.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.5892, allocations: 20.14 kB / 0.5833 GB, free: 30.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.5892, allocations: 43.59 kB / 0.5833 GB, free: 29.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 3.827e-06/0.5892, allocations: 0 / 0.5833 GB, free: 29.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02374/0.613, allocations: 7.727 MB / 0.5909 GB, free: 28.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.6131, allocations: 141 kB / 0.591 GB, free: 28.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.6154, allocations: 1.013 MB / 0.592 GB, free: 27.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.6157, allocations: 46.02 kB / 0.5921 GB, free: 27.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.6162, allocations: 0.5019 MB / 0.5925 GB, free: 27.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004792/0.6167, allocations: 363.2 kB / 0.5929 GB, free: 27.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.6168, allocations: 26.34 kB / 0.5929 GB, free: 27.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.617, allocations: 350.6 kB / 0.5932 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.619, allocations: 0.8243 MB / 0.5941 GB, free: 26.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.6211, allocations: 0.9628 MB / 0.595 GB, free: 26.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.6232, allocations: 0.9322 MB / 0.5959 GB, free: 25.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.6232, allocations: 5.375 kB / 0.5959 GB, free: 25.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.0162/0.6394, allocations: 5.339 MB / 0.6011 GB, free: 24.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.6396, allocations: 217.2 kB / 0.6013 GB, free: 24.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6396, allocations: 2.312 kB / 0.6013 GB, free: 24.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007556/0.6472, allocations: 2.193 MB / 0.6035 GB, free: 23.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.6486, allocations: 231.4 kB / 0.6037 GB, free: 23.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/0.6732, allocations: 10.87 MB / 0.6143 GB, free: 17.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.6756, allocations: 224.6 kB / 0.6145 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.6757, allocations: 43.66 kB / 0.6146 GB, free: 17.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.6757, allocations: 7.938 kB / 0.6146 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01348/0.6892, allocations: 5.182 MB / 0.6196 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.6893, allocations: 4 kB / 0.6196 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005919/0.6952, allocations: 2.186 MB / 0.6218 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.6965, allocations: 229 kB / 0.622 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/0.7151, allocations: 10.86 MB / 0.6326 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.7169, allocations: 206.9 kB / 0.6328 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.7171, allocations: 48.73 kB / 0.6328 GB, free: 15.06 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008641/0.7179, allocations: 365.2 kB / 0.6332 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.7183, allocations: 122.5 kB / 0.6333 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.7313, allocations: 4.957 MB / 0.6381 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.7313, allocations: 12 kB / 0.6382 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.7314, allocations: 0.9375 kB / 0.6382 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.339e-05/0.7314, allocations: 7.938 kB / 0.6382 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.7474, allocations: 6.782 MB / 0.6448 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.7475, allocations: 3.984 kB / 0.6448 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.7484, allocations: 127.8 kB / 0.6449 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006032/0.7544, allocations: 2.048 MB / 0.6469 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/0.7548, allocations: 28.89 kB / 0.6469 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.7732, allocations: 8.208 MB / 0.655 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7732, allocations: 0 / 0.655 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.7895, allocations: 5.963 MB / 0.6608 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/0.7905, allocations: 227.2 kB / 0.661 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005958/0.7911, allocations: 16 kB / 0.661 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.793, allocations: 147.9 kB / 0.6612 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/0.7942, allocations: 202.1 kB / 0.6613 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/0.7944, allocations: 26.06 kB / 0.6614 GB, free: 1.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002199/0.7966, allocations: 0.6874 MB / 0.662 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7967, allocations: 4 kB / 0.662 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00472/0.8014, allocations: 0.7646 MB / 0.6628 GB, free: 20 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005376/0.802, allocations: 139.1 kB / 0.6629 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01826/0.8202, allocations: 5.253 MB / 0.6681 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.8203, allocations: 0.5625 kB / 0.6681 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006865/0.8272, allocations: 1.829 MB / 0.6698 GB, free: 8.684 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.8293, allocations: 112.1 kB / 0.67 GB, free: 8.574 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007957/0.8372, allocations: 2.854 MB / 0.6727 GB, free: 5.738 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.8388, allocations: 1.141 MB / 0.6739 GB, free: 4.566 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/0.8395, allocations: 71.42 kB / 0.6739 GB, free: 4.496 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/0.8395, allocations: 0 / 0.6739 GB, free: 4.496 MB / 478.1 MB Notification: Performance of Templates: time 0.05084/0.8903, allocations: 24.9 MB / 0.6982 GB, free: 11.69 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.o] Error 1