Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008211/0.0008211, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.372/1.372, allocations: 223.3 MB / 239.4 MB, free: 5.473 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.001175/0.001175, allocations: 172.5 kB / 290.6 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4694/0.4694, allocations: 78.56 MB / 420.3 MB, free: 4.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.000594, allocations: 8 kB / 0.4887 GB, free: 5.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1424, allocations: 69.36 MB / 0.5564 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2496/0.392, allocations: 8.086 MB / 0.5643 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006564/0.3986, allocations: 2.573 MB / 0.5668 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.401, allocations: 15.31 kB / 0.5668 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.4025, allocations: 242.9 kB / 0.5671 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.4067, allocations: 1.071 MB / 0.5681 GB, free: 33.97 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 sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.4085, allocations: 0.6336 MB / 0.5687 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.412, allocations: 2.209 MB / 0.5709 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.4129, allocations: 377.1 kB / 0.5712 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.4145, allocations: 0.7631 MB / 0.572 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.4162, allocations: 1.02 MB / 0.573 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000724/0.4169, allocations: 90.09 kB / 0.5731 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.4182, allocations: 303.5 kB / 0.5734 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.4189, allocations: 367 kB / 0.5737 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.4202, allocations: 0.8256 MB / 0.5745 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.4229, allocations: 2.149 MB / 0.5766 GB, free: 31.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.423, allocations: 1.719 kB / 0.5766 GB, free: 31.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.423, allocations: 0 / 0.5766 GB, free: 31.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.084e-05/0.4231, allocations: 0 / 0.5766 GB, free: 31.95 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.01337/0.4364, allocations: 3.543 MB / 0.5801 GB, free: 30.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.4365, allocations: 12.62 kB / 0.5801 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.4414, allocations: 0.7592 MB / 0.5808 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.444, allocations: 1.107 MB / 0.5819 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004727/0.4445, allocations: 444.2 kB / 0.5823 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004778/0.445, allocations: 115.6 kB / 0.5824 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.4486, allocations: 1.506 MB / 0.5839 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.4487, allocations: 0 / 0.5839 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.4489, allocations: 43.84 kB / 0.584 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.4489, allocations: 23.25 kB / 0.584 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.4521, allocations: 1.432 MB / 0.5854 GB, free: 28.77 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.01027/0.4624, allocations: 5.019 MB / 0.5903 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009369/0.4718, allocations: 3.464 MB / 0.5937 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.4743, allocations: 0.9862 MB / 0.5946 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.4745, allocations: 28.92 kB / 0.5947 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00281/0.4773, allocations: 1.139 MB / 0.5958 GB, free: 23.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 7.333e-06/0.4774, allocations: 0 / 0.5958 GB, free: 23.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04653/0.5239, allocations: 11.97 MB / 0.6074 GB, free: 21.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.524, allocations: 120.9 kB / 0.6076 GB, free: 21.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/0.5275, allocations: 1.414 MB / 0.6089 GB, free: 21.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004972/0.528, allocations: 52.14 kB / 0.609 GB, free: 21.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.5287, allocations: 0.6002 MB / 0.6096 GB, free: 20.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007518/0.5294, allocations: 462.9 kB / 0.61 GB, free: 20.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005335/0.53, allocations: 175.6 kB / 0.6102 GB, free: 20.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.53, allocations: 301.1 kB / 0.6105 GB, free: 20.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/0.5326, allocations: 1.056 MB / 0.6115 GB, free: 19.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.5352, allocations: 1.258 MB / 0.6127 GB, free: 18.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/0.5401, allocations: 2.232 MB / 0.6149 GB, free: 17.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.5401, allocations: 3.938 kB / 0.6149 GB, free: 17.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009827/0.5499, allocations: 4.117 MB / 0.6189 GB, free: 13.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.55, allocations: 4 kB / 0.6189 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.55, allocations: 4.5 kB / 0.6189 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.5601, allocations: 3.348 MB / 0.6222 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.5615, allocations: 263.6 kB / 0.6225 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007258/0.5688, allocations: 3.324 MB / 0.6257 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.5718, allocations: 298.8 kB / 0.626 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/0.5721, allocations: 63.98 kB / 0.6261 GB, free: 6.203 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.0009765/0.5731, allocations: 301.5 kB / 0.6264 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005689/0.5737, allocations: 165.9 kB / 0.6265 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/0.5907, allocations: 5.852 MB / 0.6322 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/0.5909, allocations: 24.55 kB / 0.6322 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.5909, allocations: 0 / 0.6322 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-05/0.5909, allocations: 7.922 kB / 0.6323 GB, free: 15.83 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.02185/0.6128, allocations: 7.941 MB / 0.64 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.6129, allocations: 0 / 0.64 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6139, allocations: 143.8 kB / 0.6401 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008304/0.6222, allocations: 2.514 MB / 0.6426 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003363/0.6226, allocations: 32.8 kB / 0.6426 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02695/0.6496, allocations: 10.31 MB / 0.6527 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.6496, allocations: 1.594 kB / 0.6527 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/0.6706, allocations: 7.079 MB / 0.6596 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007404/0.6714, allocations: 275.4 kB / 0.6599 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005684/0.672, allocations: 27.98 kB / 0.6599 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/0.674, allocations: 179.8 kB / 0.6601 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000954/0.675, allocations: 257.2 kB / 0.6603 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/0.6752, allocations: 36.92 kB / 0.6604 GB, free: 2.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001757/0.677, allocations: 0.9503 MB / 0.6613 GB, free: 1.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.12e-07/0.677, allocations: 0 / 0.6613 GB, free: 1.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002059/0.6791, allocations: 0.5308 MB / 0.6618 GB, free: 1.234 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,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.0004468/0.6795, allocations: 168.1 kB / 0.662 GB, free: 1.062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00969/0.6892, allocations: 3.214 MB / 0.6651 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6893, allocations: 0 / 0.6651 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006779/0.6961, allocations: 2.174 MB / 0.6672 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.6981, allocations: 136.3 kB / 0.6674 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006611/0.7047, allocations: 3.723 MB / 0.671 GB, free: 7.871 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/0.7057, allocations: 1.231 MB / 0.6722 GB, free: 6.613 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007527/0.7065, allocations: 136.9 kB / 0.6723 GB, free: 6.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.707, allocations: 89.48 kB / 0.6724 GB, free: 6.395 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.707, allocations: 3.938 kB / 0.6724 GB, free: 6.391 MB / 478.1 MB Notification: Performance of Templates: time 0.04399/0.751, allocations: 26.65 MB / 0.6984 GB, free: 11.86 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) Environment - environmentSimulation: