Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08162/0.08162, allocations: 12.19 MB / 27.97 MB, free: 0.9727 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 123.4 kB / 31.48 MB, free: 4.484 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 240 MB, free: 11.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 192.3 kB / 290.1 MB, free: 15.97 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5248/0.5248, allocations: 78.5 MB / 418.6 MB, free: 47.21 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.002241, allocations: 127.8 kB / 498.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1508, allocations: 68.04 MB / 0.5536 GB, free: 496 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.2612/0.412, allocations: 8.429 MB / 0.5618 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.4177, allocations: 2.525 MB / 0.5643 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009406/0.4186, allocations: 15.91 kB / 0.5643 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008747/0.4195, allocations: 245.7 kB / 0.5646 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.4221, allocations: 1.078 MB / 0.5656 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.4237, allocations: 0.603 MB / 0.5662 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.4261, allocations: 2.165 MB / 0.5683 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.4266, allocations: 355.2 kB / 0.5687 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009029/0.4276, allocations: 0.7771 MB / 0.5694 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009639/0.4285, allocations: 1.047 MB / 0.5704 GB, free: 33.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.4287, allocations: 104 kB / 0.5705 GB, free: 33.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.4294, allocations: 319.9 kB / 0.5708 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.4297, allocations: 378 kB / 0.5712 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005974/0.4303, allocations: 0.8143 MB / 0.572 GB, free: 32.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.4314, allocations: 1.676 MB / 0.5736 GB, free: 31.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4314, allocations: 0 / 0.5736 GB, free: 31.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4314, allocations: 0 / 0.5736 GB, free: 31.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4314, allocations: 4 kB / 0.5736 GB, free: 31.79 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01235/0.4438, allocations: 3.721 MB / 0.5773 GB, free: 30.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4439, allocations: 14.8 kB / 0.5773 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.448, allocations: 0.7497 MB / 0.578 GB, free: 30.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.4498, allocations: 1.096 MB / 0.5791 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.4501, allocations: 421.1 kB / 0.5795 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.4503, allocations: 108.4 kB / 0.5796 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.4527, allocations: 1.389 MB / 0.581 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.4528, allocations: 0 / 0.581 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.4529, allocations: 43.98 kB / 0.581 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.4529, allocations: 22.72 kB / 0.581 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.4554, allocations: 1.31 MB / 0.5823 GB, free: 27.99 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.006983/0.4624, allocations: 4.832 MB / 0.587 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007196/0.4696, allocations: 2.855 MB / 0.5898 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.4715, allocations: 0.9001 MB / 0.5907 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.4716, allocations: 21.94 kB / 0.5907 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/0.4735, allocations: 1.041 MB / 0.5917 GB, free: 23.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.286e-06/0.4735, allocations: 3.938 kB / 0.5917 GB, free: 23.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.03933/0.5128, allocations: 9.665 MB / 0.6012 GB, free: 21.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.5129, allocations: 116.8 kB / 0.6013 GB, free: 21.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.5155, allocations: 1.391 MB / 0.6026 GB, free: 20.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003972/0.5159, allocations: 51.58 kB / 0.6027 GB, free: 20.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/0.5164, allocations: 0.5771 MB / 0.6032 GB, free: 20.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.5169, allocations: 448.7 kB / 0.6037 GB, free: 20.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006467/0.5176, allocations: 331.3 kB / 0.604 GB, free: 19.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.5177, allocations: 306.5 kB / 0.6043 GB, free: 19.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.5198, allocations: 0.9555 MB / 0.6052 GB, free: 19.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.522, allocations: 1.16 MB / 0.6063 GB, free: 18.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/0.5261, allocations: 2.055 MB / 0.6084 GB, free: 17.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5261, allocations: 1.469 kB / 0.6084 GB, free: 17.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.0167/0.5428, allocations: 5.394 MB / 0.6136 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.5429, allocations: 12.62 kB / 0.6136 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.5429, allocations: 2.594 kB / 0.6136 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008752/0.5517, allocations: 2.874 MB / 0.6164 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.5531, allocations: 283.6 kB / 0.6167 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.5588, allocations: 2.861 MB / 0.6195 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/0.5613, allocations: 246.3 kB / 0.6197 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.5615, allocations: 67.92 kB / 0.6198 GB, free: 8.988 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (167): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.000628/0.5621, allocations: 293.5 kB / 0.6201 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.5624, allocations: 154 kB / 0.6202 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.5756, allocations: 4.733 MB / 0.6249 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.5756, allocations: 12 kB / 0.6249 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.5757, allocations: 7.125 kB / 0.6249 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.5757, allocations: 7.969 kB / 0.6249 GB, free: 3.758 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 postOpt removeSimpleEquations (simulation): time 0.01701/0.5927, allocations: 6.801 MB / 0.6315 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.5928, allocations: 0 / 0.6315 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009227/0.5937, allocations: 131.8 kB / 0.6317 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007032/0.6008, allocations: 2.15 MB / 0.6337 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/0.601, allocations: 23.98 kB / 0.6338 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02294/0.6239, allocations: 9.197 MB / 0.6428 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.624, allocations: 0 / 0.6428 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.6418, allocations: 5.863 MB / 0.6485 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009699/0.6428, allocations: 270.8 kB / 0.6487 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.6431, allocations: 27.98 kB / 0.6488 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.6446, allocations: 131.8 kB / 0.6489 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008463/0.6455, allocations: 249 kB / 0.6491 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.6456, allocations: 32 kB / 0.6492 GB, free: 10.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001428/0.647, allocations: 0.9418 MB / 0.6501 GB, free: 9.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.647, allocations: 0 / 0.6501 GB, free: 9.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001348/0.6484, allocations: 0.5191 MB / 0.6506 GB, free: 9.102 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003556/0.6488, allocations: 147.2 kB / 0.6507 GB, free: 8.945 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008712/0.6575, allocations: 2.812 MB / 0.6535 GB, free: 6.148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.6575, allocations: 256 / 0.6535 GB, free: 6.148 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006208/0.6638, allocations: 1.877 MB / 0.6553 GB, free: 4.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.6656, allocations: 129.1 kB / 0.6554 GB, free: 4.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.672, allocations: 3.526 MB / 0.6589 GB, free: 0.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.6728, allocations: 1.211 MB / 0.6601 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.6732, allocations: 95.41 kB / 0.6601 GB, free: 15.24 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6732, allocations: 0 / 0.6601 GB, free: 15.24 MB / 478.1 MB Notification: Performance of Templates: time 0.02955/0.7028, allocations: 25.15 MB / 0.6847 GB, free: 6.09 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXSCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXSCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXSCalcHelperMain.o] Error 1