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.08783/0.08783, allocations: 12.2 MB / 27.47 MB, free: 1.418 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.0008575/0.0008575, allocations: 101.6 kB / 31 MB, free: 4.766 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.368/1.368, allocations: 205.4 MB / 239.8 MB, free: 11.46 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.001193/0.001193, allocations: 175.2 kB / 291 MB, free: 13.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4744/0.4744, allocations: 78.52 MB / 420.5 MB, free: 48.59 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.0008984/0.0008983, allocations: 28 kB / 0.4901 GB, free: 2.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3668, allocations: 69.23 MB / 0.5577 GB, free: 43.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007712/0.3746, allocations: 8.135 MB / 0.5656 GB, free: 39.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005987/0.3806, allocations: 2.551 MB / 0.5681 GB, free: 38.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.3827, allocations: 15.31 kB / 0.5682 GB, free: 38.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.3839, allocations: 247.9 kB / 0.5684 GB, free: 37.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.3875, allocations: 1.067 MB / 0.5694 GB, free: 37.27 MB / 430.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.001617/0.3892, allocations: 0.6316 MB / 0.5701 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.3924, allocations: 2.219 MB / 0.5722 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007156/0.3931, allocations: 366.6 kB / 0.5726 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.3948, allocations: 0.7646 MB / 0.5733 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.3961, allocations: 1.025 MB / 0.5743 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.3964, allocations: 86.47 kB / 0.5744 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.3972, allocations: 306.9 kB / 0.5747 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.3975, allocations: 361.6 kB / 0.575 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008105/0.3983, allocations: 0.8253 MB / 0.5758 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.4009, allocations: 2.159 MB / 0.5779 GB, free: 33.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4009, allocations: 0 / 0.5779 GB, free: 33.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4009, allocations: 4 kB / 0.578 GB, free: 33.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.4009, allocations: 0 / 0.578 GB, free: 33.34 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01313/0.4141, allocations: 3.53 MB / 0.5814 GB, free: 32.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4141, allocations: 14.98 kB / 0.5814 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.4192, allocations: 0.7592 MB / 0.5822 GB, free: 31.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.4215, allocations: 1.114 MB / 0.5832 GB, free: 31.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000385/0.4219, allocations: 438.1 kB / 0.5837 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.4221, allocations: 108.5 kB / 0.5838 GB, free: 30.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/0.425, allocations: 1.511 MB / 0.5852 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.425, allocations: 7.453 kB / 0.5852 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.4251, allocations: 42.78 kB / 0.5853 GB, free: 30.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.4252, allocations: 27.25 kB / 0.5853 GB, free: 30.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.4279, allocations: 1.429 MB / 0.5867 GB, free: 29.66 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.008187/0.4361, allocations: 5.019 MB / 0.5916 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008725/0.4449, allocations: 3.467 MB / 0.595 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/0.4476, allocations: 0.99 MB / 0.596 GB, free: 25.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.4478, allocations: 23.91 kB / 0.596 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003507/0.4513, allocations: 1.142 MB / 0.5971 GB, free: 24.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.781e-06/0.4514, allocations: 0 / 0.5971 GB, free: 24.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04827/0.4996, allocations: 11.96 MB / 0.6088 GB, free: 21.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.4997, allocations: 116.5 kB / 0.6089 GB, free: 21.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.5028, allocations: 1.415 MB / 0.6103 GB, free: 20.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005206/0.5034, allocations: 51.2 kB / 0.6103 GB, free: 20.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/0.504, allocations: 0.6023 MB / 0.6109 GB, free: 20.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008627/0.5049, allocations: 463.2 kB / 0.6114 GB, free: 19.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006357/0.5055, allocations: 179.3 kB / 0.6115 GB, free: 19.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.5056, allocations: 302.5 kB / 0.6118 GB, free: 19.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/0.5085, allocations: 1.053 MB / 0.6128 GB, free: 18.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.5113, allocations: 1.249 MB / 0.6141 GB, free: 17.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004602/0.5159, allocations: 2.238 MB / 0.6162 GB, free: 15.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.5159, allocations: 3.938 kB / 0.6163 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009804/0.5257, allocations: 4.109 MB / 0.6203 GB, free: 11.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.5258, allocations: 4 kB / 0.6203 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5258, allocations: 4 kB / 0.6203 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.5359, allocations: 3.36 MB / 0.6236 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.5373, allocations: 271.6 kB / 0.6238 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007443/0.5448, allocations: 3.316 MB / 0.6271 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.5475, allocations: 294.2 kB / 0.6273 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/0.5478, allocations: 67.97 kB / 0.6274 GB, free: 4.215 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 (161): * Single equations (assignments): 160 * 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,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0008218/0.5487, allocations: 305.5 kB / 0.6277 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004956/0.5492, allocations: 158 kB / 0.6278 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/0.5685, allocations: 5.858 MB / 0.6336 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.388e-05/0.5685, allocations: 16 kB / 0.6336 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.5686, allocations: 0 / 0.6336 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-05/0.5686, allocations: 11.91 kB / 0.6336 GB, free: 13.84 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.03353/0.6022, allocations: 7.943 MB / 0.6413 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.6023, allocations: 3.984 kB / 0.6413 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.6037, allocations: 147.8 kB / 0.6415 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01252/0.6163, allocations: 2.517 MB / 0.6439 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004247/0.6168, allocations: 27.98 kB / 0.644 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03232/0.6491, allocations: 10.33 MB / 0.6541 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6492, allocations: 3.984 kB / 0.6541 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/0.6708, allocations: 7.063 MB / 0.661 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.6716, allocations: 290.6 kB / 0.6612 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006295/0.6722, allocations: 20 kB / 0.6613 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/0.6746, allocations: 179.8 kB / 0.6614 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/0.6758, allocations: 265.1 kB / 0.6617 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/0.6761, allocations: 32 kB / 0.6617 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002125/0.6782, allocations: 0.9621 MB / 0.6626 GB, free: 15.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6782, allocations: 0 / 0.6626 GB, free: 15.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002404/0.6807, allocations: 0.523 MB / 0.6632 GB, free: 15.21 MB / 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 (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.0005717/0.6812, allocations: 150.9 kB / 0.6633 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.6916, allocations: 3.226 MB / 0.6665 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.6917, allocations: 0 / 0.6665 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007312/0.699, allocations: 2.173 MB / 0.6686 GB, free: 9.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.7014, allocations: 133.7 kB / 0.6687 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.7085, allocations: 3.726 MB / 0.6723 GB, free: 5.777 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.7096, allocations: 1.227 MB / 0.6735 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000861/0.7105, allocations: 142 kB / 0.6737 GB, free: 4.379 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005731/0.7111, allocations: 91.41 kB / 0.6738 GB, free: 4.289 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7111, allocations: 0 / 0.6738 GB, free: 4.289 MB / 478.1 MB Notification: Performance of Templates: time 0.04612/0.7572, allocations: 26.66 MB / 0.6998 GB, free: 9.652 MB / 0.4981 GB 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: