Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008289/0.0008289, allocations: 92.16 kB / 16.02 MB, free: 80 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.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.496 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.001128/0.001128, allocations: 180.5 kB / 291.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5251/0.5251, allocations: 78.56 MB / 420.9 MB, free: 4.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 12 kB / 0.4893 GB, free: 5.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1639, allocations: 69.36 MB / 0.557 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2667/0.4307, allocations: 6.479 MB / 0.5634 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004174/0.4349, allocations: 2.045 MB / 0.5654 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008194/0.4357, allocations: 13.25 kB / 0.5654 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.4364, allocations: 186.5 kB / 0.5655 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.438, allocations: 0.6692 MB / 0.5662 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.4393, allocations: 0.614 MB / 0.5668 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.4407, allocations: 1.552 MB / 0.5683 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.4411, allocations: 304 kB / 0.5686 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006103/0.4417, allocations: 0.5752 MB / 0.5692 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.4424, allocations: 0.7378 MB / 0.5699 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.4425, allocations: 59.06 kB / 0.5699 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.4429, allocations: 189.4 kB / 0.5701 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.4432, allocations: 256.2 kB / 0.5704 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.4436, allocations: 0.6232 MB / 0.571 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008905/0.4445, allocations: 1.256 MB / 0.5722 GB, free: 33.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4445, allocations: 0 / 0.5722 GB, free: 33.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4445, allocations: 0 / 0.5722 GB, free: 33.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4445, allocations: 0 / 0.5722 GB, free: 33.27 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.007731/0.4523, allocations: 2.585 MB / 0.5747 GB, free: 32.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4523, allocations: 11.88 kB / 0.5747 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/0.4571, allocations: 0.7912 MB / 0.5755 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.4585, allocations: 0.8871 MB / 0.5764 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.4588, allocations: 264 kB / 0.5766 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.459, allocations: 91.25 kB / 0.5767 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.4612, allocations: 1.239 MB / 0.5779 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4612, allocations: 2.953 kB / 0.5779 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.4613, allocations: 32.31 kB / 0.578 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4614, allocations: 18.38 kB / 0.578 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.4636, allocations: 1.151 MB / 0.5791 GB, free: 31.5 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.005646/0.4693, allocations: 3.737 MB / 0.5828 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.4715, allocations: 1.623 MB / 0.5843 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.4729, allocations: 0.8478 MB / 0.5852 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.166e-05/0.473, allocations: 19.42 kB / 0.5852 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/0.4748, allocations: 0.9604 MB / 0.5861 GB, free: 28.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.485e-06/0.4748, allocations: 5.531 kB / 0.5861 GB, free: 28.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02985/0.5047, allocations: 8.519 MB / 0.5944 GB, free: 26.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.5048, allocations: 119.5 kB / 0.5946 GB, free: 26.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.5067, allocations: 1.033 MB / 0.5956 GB, free: 26.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.5071, allocations: 46.8 kB / 0.5956 GB, free: 26.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.5075, allocations: 0.4991 MB / 0.5961 GB, free: 25.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/0.5079, allocations: 374.9 kB / 0.5965 GB, free: 25.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.5082, allocations: 130.1 kB / 0.5966 GB, free: 25.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.5083, allocations: 354.1 kB / 0.5969 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.5101, allocations: 0.8303 MB / 0.5977 GB, free: 24.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.5121, allocations: 0.9784 MB / 0.5987 GB, free: 24.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02337/0.5355, allocations: 5.905 MB / 0.6045 GB, free: 22.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.5355, allocations: 0 / 0.6045 GB, free: 22.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01708/0.5526, allocations: 5.406 MB / 0.6097 GB, free: 21.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.5527, allocations: 65.06 kB / 0.6098 GB, free: 21.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5527, allocations: 3.062 kB / 0.6098 GB, free: 21.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007868/0.5606, allocations: 2.174 MB / 0.6119 GB, free: 20.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.562, allocations: 250.7 kB / 0.6122 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.5833, allocations: 9.713 MB / 0.6216 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.5856, allocations: 234.8 kB / 0.6219 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.5857, allocations: 51.98 kB / 0.6219 GB, free: 10.85 MB / 430.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.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006323/0.5863, allocations: 285.7 kB / 0.6222 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.5865, allocations: 126.4 kB / 0.6223 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.6007, allocations: 5.099 MB / 0.6273 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.6008, allocations: 8 kB / 0.6273 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6008, allocations: 1.031 kB / 0.6273 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.6008, allocations: 7.984 kB / 0.6273 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/0.6175, allocations: 6.884 MB / 0.634 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.6175, allocations: 9.156 kB / 0.634 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/0.6184, allocations: 111.8 kB / 0.6341 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006956/0.6254, allocations: 2.136 MB / 0.6362 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002159/0.6256, allocations: 26 kB / 0.6363 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/0.6486, allocations: 10.29 MB / 0.6463 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6486, allocations: 0 / 0.6463 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02017/0.6688, allocations: 6.115 MB / 0.6523 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/0.6695, allocations: 223.2 kB / 0.6525 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.6698, allocations: 20 kB / 0.6525 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.6714, allocations: 151.9 kB / 0.6527 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007235/0.6721, allocations: 208.7 kB / 0.6529 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.6722, allocations: 28.88 kB / 0.6529 GB, free: 10.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001405/0.6736, allocations: 0.711 MB / 0.6536 GB, free: 9.914 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6736, allocations: 0 / 0.6536 GB, free: 9.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001909/0.6755, allocations: 475.5 kB / 0.654 GB, free: 9.449 MB / 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.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004189/0.676, allocations: 140.9 kB / 0.6542 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008573/0.6846, allocations: 2.926 MB / 0.657 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.6846, allocations: 0 / 0.657 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006587/0.6912, allocations: 1.978 MB / 0.659 GB, free: 4.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.6929, allocations: 114 kB / 0.6591 GB, free: 4.227 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/0.699, allocations: 2.941 MB / 0.6619 GB, free: 1.301 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.7001, allocations: 1.128 MB / 0.663 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.7007, allocations: 79.42 kB / 0.6631 GB, free: 64 kB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7007, allocations: 0 / 0.6631 GB, free: 64 kB / 462.1 MB Notification: Performance of Templates: time 0.03357/0.7343, allocations: 23.94 MB / 0.6865 GB, free: 8.23 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o] Error 1