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.008097/0.008097, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.379/1.379, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001304/0.001304, allocations: 184.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4429/0.4429, allocations: 78.53 MB / 418.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 83.88 kB / 0.5536 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3256, allocations: 68.17 MB / 0.6202 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006886/0.3325, allocations: 8.262 MB / 0.6283 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005371/0.3379, allocations: 2.548 MB / 0.6308 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3394, allocations: 12 kB / 0.6308 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.3404, allocations: 321.3 kB / 0.6311 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.3441, allocations: 1.216 MB / 0.6323 GB, free: 13.82 MB / 446.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.001656/0.3458, allocations: 0.6779 MB / 0.6329 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002932/0.3487, allocations: 2.338 MB / 0.6352 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.3493, allocations: 416.4 kB / 0.6356 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.3504, allocations: 0.8872 MB / 0.6365 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.3516, allocations: 1.132 MB / 0.6376 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.3519, allocations: 180 kB / 0.6378 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/0.3526, allocations: 407.7 kB / 0.6381 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.353, allocations: 466.2 kB / 0.6386 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008135/0.3539, allocations: 0.9129 MB / 0.6395 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.3563, allocations: 2.298 MB / 0.6417 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3564, allocations: 0 / 0.6417 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3564, allocations: 3.938 kB / 0.6417 GB, free: 4.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.669e-05/0.3564, allocations: 0 / 0.6417 GB, free: 4.082 MB / 446.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.01346/0.3699, allocations: 3.769 MB / 0.6454 GB, free: 260 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.37, allocations: 12.03 kB / 0.6454 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004885/0.3748, allocations: 0.7471 MB / 0.6461 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.3772, allocations: 1.108 MB / 0.6472 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000476/0.3777, allocations: 428.7 kB / 0.6476 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/0.3781, allocations: 111.9 kB / 0.6477 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.3812, allocations: 1.432 MB / 0.6491 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.3812, allocations: 0 / 0.6491 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.3814, allocations: 40 kB / 0.6492 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.3814, allocations: 24 kB / 0.6492 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.3844, allocations: 1.347 MB / 0.6505 GB, free: 10.88 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 preOpt removeSimpleEquations (simulation): time 0.009214/0.3936, allocations: 4.907 MB / 0.6553 GB, free: 5.758 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007677/0.4013, allocations: 2.9 MB / 0.6581 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.4034, allocations: 0.9074 MB / 0.659 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.4036, allocations: 20.92 kB / 0.6591 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/0.4059, allocations: 1.065 MB / 0.6601 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.727e-06/0.4059, allocations: 0 / 0.6601 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.0386/0.4445, allocations: 9.789 MB / 0.6697 GB, free: 6.863 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.4446, allocations: 119.8 kB / 0.6698 GB, free: 6.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.447, allocations: 1.415 MB / 0.6711 GB, free: 5.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.4473, allocations: 49.7 kB / 0.6712 GB, free: 5.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.4478, allocations: 0.5924 MB / 0.6718 GB, free: 4.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005897/0.4484, allocations: 465.4 kB / 0.6722 GB, free: 4.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007896/0.4492, allocations: 335.5 kB / 0.6725 GB, free: 3.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4493, allocations: 301.1 kB / 0.6728 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.4514, allocations: 0.9761 MB / 0.6738 GB, free: 2.574 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.4537, allocations: 1.17 MB / 0.6749 GB, free: 1.355 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/0.4579, allocations: 2.081 MB / 0.677 GB, free: 15.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.4579, allocations: 3.938 kB / 0.677 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009403/0.4673, allocations: 3.707 MB / 0.6806 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4674, allocations: 8 kB / 0.6806 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4674, allocations: 4 kB / 0.6806 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00955/0.477, allocations: 2.978 MB / 0.6835 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4783, allocations: 263.6 kB / 0.6837 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006938/0.4853, allocations: 2.996 MB / 0.6867 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.4875, allocations: 250.3 kB / 0.6869 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/0.4877, allocations: 59.98 kB / 0.687 GB, free: 4.93 MB / 494.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.0006351/0.4884, allocations: 305.4 kB / 0.6873 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.4887, allocations: 161.9 kB / 0.6874 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/0.5044, allocations: 4.819 MB / 0.6921 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.5044, allocations: 15.94 kB / 0.6921 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5044, allocations: 4 kB / 0.6921 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.5044, allocations: 7.922 kB / 0.6921 GB, free: 15.59 MB / 0.4981 GB 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.01813/0.5226, allocations: 6.897 MB / 0.6989 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.5226, allocations: 0 / 0.6989 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.5234, allocations: 143.8 kB / 0.699 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007241/0.5307, allocations: 2.138 MB / 0.7011 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.5308, allocations: 24 kB / 0.7011 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02513/0.556, allocations: 10.06 MB / 0.711 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.556, allocations: 0 / 0.711 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/0.5741, allocations: 5.948 MB / 0.7168 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.5747, allocations: 274.7 kB / 0.717 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/0.5751, allocations: 31.94 kB / 0.7171 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.5766, allocations: 131.8 kB / 0.7172 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008301/0.5775, allocations: 261.4 kB / 0.7174 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.5776, allocations: 35.98 kB / 0.7175 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001522/0.5791, allocations: 0.9503 MB / 0.7184 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5792, allocations: 0 / 0.7184 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00145/0.5806, allocations: 0.5268 MB / 0.7189 GB, free: 3.836 MB / 0.5137 GB 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.000319/0.5809, allocations: 152.2 kB / 0.7191 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008535/0.5895, allocations: 2.892 MB / 0.7219 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5895, allocations: 4.125 kB / 0.7219 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005868/0.5954, allocations: 1.918 MB / 0.7238 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5964, allocations: 134.9 kB / 0.7239 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/0.6019, allocations: 3.024 MB / 0.7268 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/0.6027, allocations: 1.223 MB / 0.728 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004804/0.6032, allocations: 142 kB / 0.7282 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.6036, allocations: 99.41 kB / 0.7283 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.6036, allocations: 0 / 0.7283 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.04853/0.6521, allocations: 30.55 MB / 0.7581 GB, free: 11.61 MB / 0.5606 GB 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)