Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07548/0.07548, allocations: 12.2 MB / 27.16 MB, free: 124 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009051/0.0009052, allocations: 108 kB / 30.66 MB, free: 6.43 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.257/1.257, allocations: 205.4 MB / 239.5 MB, free: 10.68 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.001044/0.001043, allocations: 193 kB / 290.6 MB, free: 8.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3879/0.3879, allocations: 78.49 MB / 420.1 MB, free: 6.621 MB / 302.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.0008759/0.000876, allocations: 32.5 kB / 0.4894 GB, free: 37.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1159, allocations: 69.25 MB / 0.557 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.00703/0.123, allocations: 7.263 MB / 0.5641 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.1279, allocations: 2.496 MB / 0.5665 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1293, allocations: 16 kB / 0.5666 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.1305, allocations: 222.2 kB / 0.5668 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.1339, allocations: 1.059 MB / 0.5678 GB, free: 13.84 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.1357, allocations: 0.5691 MB / 0.5684 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.1387, allocations: 1.44 MB / 0.5698 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006561/0.1394, allocations: 345.1 kB / 0.5701 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1406, allocations: 0.7433 MB / 0.5708 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.142, allocations: 0.9726 MB / 0.5718 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.1425, allocations: 92 kB / 0.5719 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007802/0.1433, allocations: 279.8 kB / 0.5721 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.1437, allocations: 358.5 kB / 0.5725 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.1441, allocations: 288.8 kB / 0.5727 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.146, allocations: 1.648 MB / 0.5744 GB, free: 7.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.146, allocations: 0 / 0.5744 GB, free: 7.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.146, allocations: 0 / 0.5744 GB, free: 7.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.351e-05/0.1461, allocations: 4 kB / 0.5744 GB, free: 7.086 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01318/0.1593, allocations: 3.552 MB / 0.5778 GB, free: 3.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1593, allocations: 11.98 kB / 0.5778 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/0.1642, allocations: 0.7588 MB / 0.5786 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.1665, allocations: 1.074 MB / 0.5796 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/0.167, allocations: 432.7 kB / 0.58 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.1673, allocations: 112 kB / 0.5802 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.1703, allocations: 1.494 MB / 0.5816 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1703, allocations: 0 / 0.5816 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.1704, allocations: 43.98 kB / 0.5817 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.1705, allocations: 24 kB / 0.5817 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.1737, allocations: 1.421 MB / 0.5831 GB, free: 13.97 MB / 414.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.00999/0.1838, allocations: 5.14 MB / 0.5881 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009066/0.1929, allocations: 3.464 MB / 0.5915 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.1931, allocations: 28.98 kB / 0.5915 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00251/0.1956, allocations: 1.128 MB / 0.5926 GB, free: 3.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 3.477e-06/0.1957, allocations: 0 / 0.5926 GB, free: 3.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.04318/0.2389, allocations: 11.9 MB / 0.6042 GB, free: 7.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.239, allocations: 119.8 kB / 0.6043 GB, free: 7.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.2413, allocations: 1.395 MB / 0.6057 GB, free: 6.332 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003623/0.2417, allocations: 53.7 kB / 0.6057 GB, free: 6.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.2422, allocations: 0.6001 MB / 0.6063 GB, free: 5.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006527/0.2429, allocations: 465.5 kB / 0.6068 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.2431, allocations: 40 kB / 0.6068 GB, free: 5.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2432, allocations: 381.8 kB / 0.6072 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.2456, allocations: 1.042 MB / 0.6082 GB, free: 3.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.2483, allocations: 1.237 MB / 0.6094 GB, free: 2.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.2509, allocations: 1.123 MB / 0.6105 GB, free: 1.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.2509, allocations: 4 kB / 0.6105 GB, free: 1.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01108/0.262, allocations: 4.133 MB / 0.6145 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.2621, allocations: 6.656 kB / 0.6145 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.2621, allocations: 4 kB / 0.6145 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01351/0.2756, allocations: 3.356 MB / 0.6178 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.2776, allocations: 267.6 kB / 0.6181 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.2882, allocations: 3.316 MB / 0.6213 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/0.2914, allocations: 298.2 kB / 0.6216 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.2917, allocations: 63.98 kB / 0.6217 GB, free: 5.867 MB / 446.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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * 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 {34 42} Notification: Performance of prepare postOptimizeDAE: time 0.0008338/0.2926, allocations: 301.5 kB / 0.6219 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/0.293, allocations: 162 kB / 0.6221 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02458/0.3176, allocations: 5.854 MB / 0.6278 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.3176, allocations: 12 kB / 0.6278 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.3177, allocations: 4 kB / 0.6278 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-05/0.3177, allocations: 3.984 kB / 0.6278 GB, free: 15.5 MB / 462.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.02589/0.3436, allocations: 7.98 MB / 0.6356 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.3437, allocations: 0 / 0.6356 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009323/0.3446, allocations: 151.8 kB / 0.6358 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007816/0.3524, allocations: 2.509 MB / 0.6382 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.3527, allocations: 24 kB / 0.6383 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02538/0.378, allocations: 10.9 MB / 0.6489 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3781, allocations: 0 / 0.6489 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/0.3972, allocations: 7.092 MB / 0.6558 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/0.3978, allocations: 274.8 kB / 0.6561 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.398, allocations: 23.98 kB / 0.6561 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.3996, allocations: 183.8 kB / 0.6563 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/0.4003, allocations: 257.3 kB / 0.6565 GB, free: 1.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/0.4004, allocations: 32 kB / 0.6566 GB, free: 1.734 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001312/0.4017, allocations: 0.9464 MB / 0.6575 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4017, allocations: 0 / 0.6575 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001318/0.403, allocations: 0.5385 MB / 0.658 GB, free: 256 kB / 478.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,sCRX.imLeadLag.TF.x_scaled[1],sCRX.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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003213/0.4034, allocations: 139.1 kB / 0.6581 GB, free: 108 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2143/0.6177, allocations: 3.207 MB / 0.6613 GB, free: 98.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.6177, allocations: 0 / 0.6613 GB, free: 98.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005787/0.6235, allocations: 2.163 MB / 0.6634 GB, free: 97.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/0.6244, allocations: 117.5 kB / 0.6635 GB, free: 97.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.6292, allocations: 3.593 MB / 0.667 GB, free: 96.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.6299, allocations: 1.261 MB / 0.6682 GB, free: 95.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000544/0.6305, allocations: 147.8 kB / 0.6684 GB, free: 95.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.6308, allocations: 89.89 kB / 0.6685 GB, free: 95.36 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6308, allocations: 0 / 0.6685 GB, free: 95.36 MB / 478.1 MB Notification: Performance of Templates: time 0.03295/0.6638, allocations: 25.79 MB / 0.6936 GB, free: 80.49 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) Environment - environmentSimulation: