Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 103.6 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 239.6 MB, free: 4.762 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.001408/0.001408, allocations: 196.4 kB / 289.9 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4292/0.4292, allocations: 78.53 MB / 418.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.89 kB / 497.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1277, allocations: 68.17 MB / 0.5525 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.225/0.3528, allocations: 8.63 MB / 0.5609 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.358, allocations: 2.635 MB / 0.5635 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.3595, allocations: 18.03 kB / 0.5635 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007948/0.3603, allocations: 229.1 kB / 0.5637 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.3632, allocations: 1.057 MB / 0.5648 GB, free: 33.94 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation eXNI.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3646, allocations: 0.6649 MB / 0.5654 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.3671, allocations: 2.297 MB / 0.5677 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.3678, allocations: 457.2 kB / 0.5681 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.3689, allocations: 0.8796 MB / 0.569 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009443/0.3698, allocations: 1.129 MB / 0.5701 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.3701, allocations: 182.3 kB / 0.5702 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000648/0.3707, allocations: 363.3 kB / 0.5706 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.371, allocations: 466 kB / 0.571 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.3716, allocations: 0.9207 MB / 0.5719 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.3731, allocations: 1.751 MB / 0.5736 GB, free: 32.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3731, allocations: 0 / 0.5736 GB, free: 32.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3732, allocations: 0 / 0.5736 GB, free: 32.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.3732, allocations: 0 / 0.5736 GB, free: 32.2 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01268/0.3859, allocations: 3.839 MB / 0.5774 GB, free: 31.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3859, allocations: 8.625 kB / 0.5774 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/0.3904, allocations: 0.7534 MB / 0.5781 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.3921, allocations: 1.085 MB / 0.5792 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.3924, allocations: 451.5 kB / 0.5796 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.3926, allocations: 115.4 kB / 0.5797 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.3953, allocations: 1.454 MB / 0.5811 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.3953, allocations: 0 / 0.5811 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.3955, allocations: 42.62 kB / 0.5812 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.3955, allocations: 26.19 kB / 0.5812 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.3982, allocations: 1.357 MB / 0.5825 GB, free: 28.91 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.008225/0.4064, allocations: 4.942 MB / 0.5874 GB, free: 26.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007834/0.4143, allocations: 2.988 MB / 0.5903 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.4164, allocations: 0.9227 MB / 0.5912 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.4166, allocations: 23.38 kB / 0.5912 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4166, allocations: 57.5 kB / 0.5913 GB, free: 24.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.4166, allocations: 0 / 0.5913 GB, free: 24.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.03942/0.4561, allocations: 9.812 MB / 0.6008 GB, free: 22.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.4562, allocations: 145.9 kB / 0.601 GB, free: 22.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.4584, allocations: 1.358 MB / 0.6023 GB, free: 22.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003694/0.4588, allocations: 51.94 kB / 0.6024 GB, free: 21.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.4592, allocations: 0.6048 MB / 0.6029 GB, free: 21.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004908/0.4597, allocations: 470.4 kB / 0.6034 GB, free: 21.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006401/0.4603, allocations: 346.8 kB / 0.6037 GB, free: 20.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.4604, allocations: 305.1 kB / 0.604 GB, free: 20.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.4625, allocations: 0.987 MB / 0.605 GB, free: 20.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.4647, allocations: 1.194 MB / 0.6061 GB, free: 19.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004091/0.4688, allocations: 2.104 MB / 0.6082 GB, free: 18.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.4688, allocations: 1.781 kB / 0.6082 GB, free: 18.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.009253/0.4781, allocations: 3.794 MB / 0.6119 GB, free: 16.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.4782, allocations: 6.406 kB / 0.6119 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4782, allocations: 3.188 kB / 0.6119 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00962/0.4878, allocations: 3.03 MB / 0.6149 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.4892, allocations: 275.6 kB / 0.6151 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/0.4954, allocations: 3.057 MB / 0.6181 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.4976, allocations: 238.3 kB / 0.6184 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.4978, allocations: 63.98 kB / 0.6184 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002167/0.5, allocations: 1.18 MB / 0.6196 GB, free: 10.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001779/0.5018, allocations: 1.187 MB / 0.6207 GB, free: 9.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003355/0.5051, allocations: 2.089 MB / 0.6228 GB, free: 7.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.441e-06/0.5051, allocations: 0 / 0.6228 GB, free: 7.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.008087/0.5132, allocations: 3.759 MB / 0.6264 GB, free: 3.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5133, allocations: 8.625 kB / 0.6264 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.5133, allocations: 4 kB / 0.6264 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008749/0.522, allocations: 3.016 MB / 0.6294 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.5234, allocations: 279.7 kB / 0.6297 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/0.5301, allocations: 3.016 MB / 0.6326 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.5324, allocations: 218.6 kB / 0.6328 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.5326, allocations: 63.98 kB / 0.6329 GB, free: 12.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 {(34,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0004145/0.533, allocations: 263.9 kB / 0.6331 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003915/0.5334, allocations: 161.9 kB / 0.6333 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.5492, allocations: 4.907 MB / 0.6381 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.5493, allocations: 12 kB / 0.6381 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.5493, allocations: 0 / 0.6381 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.069e-05/0.5493, allocations: 9.062 kB / 0.6381 GB, free: 7.293 MB / 446.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.01846/0.5678, allocations: 7.087 MB / 0.645 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.5679, allocations: 0 / 0.645 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.5688, allocations: 143.8 kB / 0.6452 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006955/0.5758, allocations: 2.229 MB / 0.6473 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002799/0.5761, allocations: 28 kB / 0.6474 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02536/0.6014, allocations: 11.86 MB / 0.6589 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6015, allocations: 12.03 kB / 0.6589 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/0.6189, allocations: 6.126 MB / 0.6649 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.6196, allocations: 275.3 kB / 0.6652 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.6199, allocations: 23.94 kB / 0.6652 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6213, allocations: 124.8 kB / 0.6653 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/0.6222, allocations: 261.4 kB / 0.6656 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.6223, allocations: 32 kB / 0.6656 GB, free: 10.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.6235, allocations: 0.9072 MB / 0.6665 GB, free: 9.742 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6235, allocations: 0 / 0.6665 GB, free: 9.742 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002123/0.6256, allocations: 0.8544 MB / 0.6673 GB, free: 8.887 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * 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 (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,4), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003369/0.6259, allocations: 153.7 kB / 0.6675 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01569/0.6416, allocations: 5.012 MB / 0.6724 GB, free: 3.734 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.6417, allocations: 0 / 0.6724 GB, free: 3.734 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006118/0.6478, allocations: 2.052 MB / 0.6744 GB, free: 1.656 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.6495, allocations: 144.5 kB / 0.6745 GB, free: 1.516 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/0.656, allocations: 3.749 MB / 0.6782 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.6567, allocations: 1.238 MB / 0.6794 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.6573, allocations: 99.41 kB / 0.6795 GB, free: 12.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6573, allocations: 0 / 0.6795 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Templates: time 0.03308/0.6904, allocations: 28.54 MB / 0.7073 GB, free: 15.99 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)