Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.0008173/0.0008174, allocations: 100.5 kB / 15.71 MB, free: 452 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.497/1.497, allocations: 223.3 MB / 239.7 MB, free: 5.637 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.001243/0.001243, allocations: 176.5 kB / 290.9 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5213/0.5213, allocations: 79.48 MB / 421.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005756/0.0005757, allocations: 8 kB / 0.4897 GB, free: 5.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2088, allocations: 69.51 MB / 0.5576 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.3489/0.5578, allocations: 6.092 MB / 0.5636 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.564, allocations: 1.959 MB / 0.5655 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.5654, allocations: 12.53 kB / 0.5655 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009607/0.5664, allocations: 179.1 kB / 0.5657 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.5688, allocations: 0.6244 MB / 0.5663 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.5704, allocations: 0.5513 MB / 0.5668 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.5727, allocations: 1.457 MB / 0.5682 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.5732, allocations: 282.1 kB / 0.5685 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008818/0.5741, allocations: 0.5658 MB / 0.5691 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008263/0.575, allocations: 0.7123 MB / 0.5698 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.5751, allocations: 62.09 kB / 0.5698 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.5757, allocations: 188.1 kB / 0.57 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.576, allocations: 249.6 kB / 0.5702 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.5763, allocations: 235 kB / 0.5705 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.5775, allocations: 1.249 MB / 0.5717 GB, free: 35.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.5775, allocations: 4.578 kB / 0.5717 GB, free: 35.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5776, allocations: 0 / 0.5717 GB, free: 35.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.5776, allocations: 0 / 0.5717 GB, free: 35.14 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.008132/0.5857, allocations: 2.595 MB / 0.5742 GB, free: 34.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5858, allocations: 9.375 kB / 0.5742 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.5908, allocations: 0.7947 MB / 0.575 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.5929, allocations: 0.8405 MB / 0.5758 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.5932, allocations: 265.8 kB / 0.5761 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.5934, allocations: 88.31 kB / 0.5762 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.5957, allocations: 1.238 MB / 0.5774 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.5958, allocations: 0 / 0.5774 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/0.5959, allocations: 30.03 kB / 0.5774 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.5959, allocations: 24.27 kB / 0.5774 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.5981, allocations: 1.145 MB / 0.5785 GB, free: 32.26 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.006591/0.6047, allocations: 3.742 MB / 0.5822 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.607, allocations: 1.621 MB / 0.5838 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.6085, allocations: 0.8458 MB / 0.5846 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.6086, allocations: 12.75 kB / 0.5846 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/0.6104, allocations: 0.958 MB / 0.5855 GB, free: 28.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 4.198e-06/0.6105, allocations: 4 kB / 0.5855 GB, free: 28.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02905/0.6395, allocations: 8.478 MB / 0.5938 GB, free: 26.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6397, allocations: 123.3 kB / 0.5939 GB, free: 26.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.642, allocations: 1.019 MB / 0.5949 GB, free: 26.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003912/0.6424, allocations: 50.05 kB / 0.595 GB, free: 26.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/0.6429, allocations: 0.5006 MB / 0.5955 GB, free: 25.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/0.6434, allocations: 374.3 kB / 0.5958 GB, free: 25.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.6435, allocations: 24.97 kB / 0.5959 GB, free: 25.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6436, allocations: 358.5 kB / 0.5962 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.6456, allocations: 0.8257 MB / 0.597 GB, free: 24.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.6476, allocations: 0.9686 MB / 0.598 GB, free: 24.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.6497, allocations: 0.9392 MB / 0.5989 GB, free: 24.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.6497, allocations: 1.562 kB / 0.5989 GB, free: 24.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01727/0.667, allocations: 5.389 MB / 0.6041 GB, free: 22.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.6671, allocations: 63.33 kB / 0.6042 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.6672, allocations: 4 kB / 0.6042 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00894/0.6761, allocations: 2.22 MB / 0.6064 GB, free: 22.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.678, allocations: 256.9 kB / 0.6066 GB, free: 22.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/0.7027, allocations: 9.919 MB / 0.6163 GB, free: 16.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.7049, allocations: 235.7 kB / 0.6165 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.7051, allocations: 51.98 kB / 0.6166 GB, free: 16.19 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 aVRI.firstOrder2.y:VARIABLE(flow=false start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007174/0.7058, allocations: 284.8 kB / 0.6168 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.706, allocations: 132.2 kB / 0.617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.7181, allocations: 5.095 MB / 0.6219 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.7182, allocations: 12 kB / 0.622 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.7182, allocations: 0 / 0.622 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.273e-05/0.7183, allocations: 7.969 kB / 0.622 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.7325, allocations: 6.876 MB / 0.6287 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.7326, allocations: 0 / 0.6287 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.7334, allocations: 111.9 kB / 0.6288 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005508/0.7389, allocations: 2.137 MB / 0.6309 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/0.7392, allocations: 29.91 kB / 0.6309 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/0.7611, allocations: 10.27 MB / 0.6409 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.7611, allocations: 0 / 0.6409 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/0.778, allocations: 6.105 MB / 0.6469 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.7788, allocations: 223.2 kB / 0.6471 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.779, allocations: 20 kB / 0.6471 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.7801, allocations: 156.7 kB / 0.6473 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/0.7808, allocations: 208.6 kB / 0.6475 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.781, allocations: 32.03 kB / 0.6475 GB, free: 15.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.7821, allocations: 0.6876 MB / 0.6482 GB, free: 15.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7821, allocations: 0 / 0.6482 GB, free: 15.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001837/0.784, allocations: 483.5 kB / 0.6486 GB, free: 14.83 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 (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: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003103/0.7843, allocations: 135.2 kB / 0.6488 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007438/0.7917, allocations: 2.929 MB / 0.6516 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/0.7918, allocations: 3.75 kB / 0.6516 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00532/0.7971, allocations: 1.979 MB / 0.6536 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.7984, allocations: 117.2 kB / 0.6537 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.8035, allocations: 2.812 MB / 0.6564 GB, free: 6.801 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/0.8043, allocations: 1.128 MB / 0.6575 GB, free: 5.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.8048, allocations: 71.42 kB / 0.6576 GB, free: 5.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8048, allocations: 0 / 0.6576 GB, free: 5.57 MB / 462.1 MB Notification: Performance of Templates: time 0.03831/0.8431, allocations: 24.06 MB / 0.6811 GB, free: 13.63 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o] Error 1