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.001176/0.001176, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.3/1.3, allocations: 222.9 MB / 239 MB, free: 4.738 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.001339/0.001339, allocations: 200.2 kB / 289.3 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4275/0.4275, allocations: 78.53 MB / 417.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 75.88 kB / 497 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1467, allocations: 68.18 MB / 0.5519 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2498/0.3966, allocations: 8.591 MB / 0.5603 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004942/0.4016, allocations: 2.589 MB / 0.5628 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.4027, allocations: 16.97 kB / 0.5628 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009494/0.4037, allocations: 256.5 kB / 0.5631 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.4063, allocations: 1.061 MB / 0.5641 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 sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.4076, allocations: 0.6257 MB / 0.5647 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.4098, allocations: 2.33 MB / 0.567 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005436/0.4104, allocations: 418.2 kB / 0.5674 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.4115, allocations: 0.8918 MB / 0.5683 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009945/0.4125, allocations: 1.133 MB / 0.5694 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.4128, allocations: 181 kB / 0.5695 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006497/0.4134, allocations: 407 kB / 0.5699 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.4137, allocations: 467.8 kB / 0.5704 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000581/0.4143, allocations: 0.9129 MB / 0.5713 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.4161, allocations: 2.266 MB / 0.5735 GB, free: 32.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4161, allocations: 2.625 kB / 0.5735 GB, free: 32.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4161, allocations: 1.469 kB / 0.5735 GB, free: 32.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.4162, allocations: 0 / 0.5735 GB, free: 32.06 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.01271/0.4289, allocations: 3.758 MB / 0.5771 GB, free: 30.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4289, allocations: 11.09 kB / 0.5772 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004282/0.4332, allocations: 0.7485 MB / 0.5779 GB, free: 30.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.435, allocations: 1.114 MB / 0.579 GB, free: 30.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.4354, allocations: 430 kB / 0.5794 GB, free: 29.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.4356, allocations: 110.9 kB / 0.5795 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.4381, allocations: 1.436 MB / 0.5809 GB, free: 29.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.4381, allocations: 0 / 0.5809 GB, free: 29.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.4382, allocations: 41.02 kB / 0.5809 GB, free: 29.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.4383, allocations: 25.56 kB / 0.581 GB, free: 29.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.4409, allocations: 1.339 MB / 0.5823 GB, free: 28.67 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.007736/0.4487, allocations: 4.933 MB / 0.5871 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/0.4565, allocations: 2.895 MB / 0.5899 GB, free: 24.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.4584, allocations: 0.9112 MB / 0.5908 GB, free: 24.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.4585, allocations: 27.78 kB / 0.5908 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/0.4606, allocations: 1.054 MB / 0.5919 GB, free: 23.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.178e-06/0.4607, allocations: 0.5156 kB / 0.5919 GB, free: 23.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04065/0.5013, allocations: 9.802 MB / 0.6014 GB, free: 22.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.5014, allocations: 119.7 kB / 0.6015 GB, free: 22.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.5038, allocations: 1.411 MB / 0.6029 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000341/0.5041, allocations: 55.61 kB / 0.603 GB, free: 21.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.5045, allocations: 0.5981 MB / 0.6036 GB, free: 20.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004423/0.5049, allocations: 457.1 kB / 0.604 GB, free: 20.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006428/0.5056, allocations: 338.1 kB / 0.6043 GB, free: 20.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.5056, allocations: 301.8 kB / 0.6046 GB, free: 20.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.5077, allocations: 0.9686 MB / 0.6055 GB, free: 19.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.5098, allocations: 1.174 MB / 0.6067 GB, free: 19.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/0.5137, allocations: 2.08 MB / 0.6087 GB, free: 18.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.5138, allocations: 5.094 kB / 0.6087 GB, free: 18.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008677/0.5225, allocations: 3.709 MB / 0.6124 GB, free: 16.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5225, allocations: 6.312 kB / 0.6124 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.5225, allocations: 5.5 kB / 0.6124 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008849/0.5314, allocations: 2.982 MB / 0.6153 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.5326, allocations: 268.1 kB / 0.6155 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.5384, allocations: 2.988 MB / 0.6184 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.5406, allocations: 246.3 kB / 0.6187 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.5407, allocations: 68.73 kB / 0.6187 GB, free: 10.6 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.0005271/0.5413, allocations: 301.5 kB / 0.619 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.5415, allocations: 162.9 kB / 0.6192 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.5553, allocations: 4.819 MB / 0.6239 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.5553, allocations: 12 kB / 0.6239 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.5553, allocations: 0 / 0.6239 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.5554, allocations: 15.86 kB / 0.6239 GB, free: 5.266 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.01703/0.5724, allocations: 6.897 MB / 0.6307 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.5725, allocations: 0 / 0.6307 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009473/0.5734, allocations: 143.8 kB / 0.6308 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00722/0.5806, allocations: 2.147 MB / 0.6329 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/0.5809, allocations: 25.08 kB / 0.6329 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02416/0.6051, allocations: 10.07 MB / 0.6428 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6052, allocations: 0 / 0.6428 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/0.6226, allocations: 5.954 MB / 0.6486 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007014/0.6233, allocations: 270.8 kB / 0.6488 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.6236, allocations: 33.44 kB / 0.6489 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.6252, allocations: 131.8 kB / 0.649 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008191/0.626, allocations: 261.4 kB / 0.6492 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.6261, allocations: 35.98 kB / 0.6493 GB, free: 10.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001355/0.6275, allocations: 0.9464 MB / 0.6502 GB, free: 10.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6275, allocations: 0 / 0.6502 GB, free: 10.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001439/0.6289, allocations: 0.5346 MB / 0.6507 GB, free: 9.492 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.0003408/0.6293, allocations: 151 kB / 0.6509 GB, free: 9.336 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009248/0.6385, allocations: 2.934 MB / 0.6537 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.6386, allocations: 2.75 kB / 0.6537 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006261/0.6448, allocations: 1.937 MB / 0.6556 GB, free: 4.465 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.6465, allocations: 137.1 kB / 0.6557 GB, free: 4.328 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006882/0.6534, allocations: 3.57 MB / 0.6592 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.6545, allocations: 1.227 MB / 0.6604 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008172/0.6554, allocations: 141.2 kB / 0.6606 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.6557, allocations: 95.41 kB / 0.6607 GB, free: 15.31 MB / 478.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6557, allocations: 0 / 0.6607 GB, free: 15.31 MB / 478.1 MB Notification: Performance of Templates: time 0.04932/0.7051, allocations: 28.95 MB / 0.6889 GB, free: 2.5 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (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)