Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.403/1.403, allocations: 222.9 MB / 238.9 MB, free: 4.742 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.001416/0.001416, allocations: 200.4 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5266/0.5266, allocations: 91.9 MB / 431.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001756, allocations: 79.89 kB / 0.5012 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4005, allocations: 71.27 MB / 0.5708 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B): time 0.008098/0.4087, allocations: 9.252 MB / 0.5798 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006769/0.4155, allocations: 2.95 MB / 0.5827 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.4181, allocations: 21.22 kB / 0.5827 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.4192, allocations: 261.7 kB / 0.583 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.4229, allocations: 1.013 MB / 0.584 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.4252, allocations: 0.9346 MB / 0.5849 GB, free: 27.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.4285, allocations: 2.308 MB / 0.5871 GB, free: 26.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007778/0.4293, allocations: 491.8 kB / 0.5876 GB, free: 26.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.4308, allocations: 0.8914 MB / 0.5885 GB, free: 25.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4321, allocations: 1.148 MB / 0.5896 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.4324, allocations: 118.6 kB / 0.5897 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008966/0.4333, allocations: 344.2 kB / 0.59 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.4336, allocations: 432.1 kB / 0.5905 GB, free: 24.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007701/0.4344, allocations: 0.9306 MB / 0.5914 GB, free: 24.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.4366, allocations: 2.495 MB / 0.5938 GB, free: 23.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4366, allocations: 1.812 kB / 0.5938 GB, free: 23.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4366, allocations: 0 / 0.5938 GB, free: 23.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.278e-05/0.4367, allocations: 0 / 0.5938 GB, free: 23.3 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01393/0.4506, allocations: 3.852 MB / 0.5976 GB, free: 21.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.4507, allocations: 8.844 kB / 0.5976 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005872/0.4566, allocations: 0.9233 MB / 0.5985 GB, free: 21.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.4593, allocations: 1.192 MB / 0.5996 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004856/0.4598, allocations: 0.5015 MB / 0.6001 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.46, allocations: 131.1 kB / 0.6003 GB, free: 20.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/0.4638, allocations: 1.696 MB / 0.6019 GB, free: 19.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.4639, allocations: 1.062 kB / 0.6019 GB, free: 19.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.464, allocations: 46.78 kB / 0.602 GB, free: 19.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.4641, allocations: 28.12 kB / 0.602 GB, free: 19.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003667/0.4677, allocations: 1.554 MB / 0.6035 GB, free: 18.97 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.01116/0.4789, allocations: 5.933 MB / 0.6093 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009829/0.4888, allocations: 3.394 MB / 0.6126 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/0.4916, allocations: 1.029 MB / 0.6136 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.4918, allocations: 23.84 kB / 0.6136 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.4918, allocations: 53.47 kB / 0.6137 GB, free: 13.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 3.957e-06/0.4918, allocations: 0 / 0.6137 GB, free: 13.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04359/0.5354, allocations: 10.57 MB / 0.624 GB, free: 7.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.5355, allocations: 201.2 kB / 0.6242 GB, free: 7.465 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.5377, allocations: 1.456 MB / 0.6256 GB, free: 6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005926/0.5383, allocations: 53.7 kB / 0.6257 GB, free: 5.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.5387, allocations: 0.6708 MB / 0.6263 GB, free: 5.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000624/0.5393, allocations: 0.4891 MB / 0.6268 GB, free: 4.766 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006985/0.54, allocations: 371.5 kB / 0.6272 GB, free: 4.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.5401, allocations: 309.1 kB / 0.6275 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.5424, allocations: 1.114 MB / 0.6285 GB, free: 2.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.5449, allocations: 1.372 MB / 0.6299 GB, free: 1.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004794/0.5497, allocations: 2.346 MB / 0.6322 GB, free: 15.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.5497, allocations: 4 kB / 0.6322 GB, free: 15.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01227/0.562, allocations: 4.355 MB / 0.6364 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5621, allocations: 7.938 kB / 0.6364 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.5621, allocations: 8 kB / 0.6364 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01375/0.5759, allocations: 3.582 MB / 0.6399 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.5775, allocations: 295.5 kB / 0.6402 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008701/0.5862, allocations: 3.443 MB / 0.6436 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/0.5893, allocations: 298 kB / 0.6439 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.5895, allocations: 67.98 kB / 0.6439 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00298/0.5925, allocations: 1.305 MB / 0.6452 GB, free: 1.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002684/0.5952, allocations: 1.325 MB / 0.6465 GB, free: 304 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004846/0.6001, allocations: 2.292 MB / 0.6487 GB, free: 13.94 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.47e-06/0.6001, allocations: 0 / 0.6487 GB, free: 13.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=261) (initialization_lambda0): time 0.01136/0.6115, allocations: 4.242 MB / 0.6529 GB, free: 9.684 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6116, allocations: 8 kB / 0.6529 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6116, allocations: 4 kB / 0.6529 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01318/0.6248, allocations: 3.543 MB / 0.6564 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.6265, allocations: 295.5 kB / 0.6566 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008984/0.6355, allocations: 3.33 MB / 0.6599 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.6387, allocations: 246.5 kB / 0.6601 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004034/0.6391, allocations: 75.97 kB / 0.6602 GB, free: 2.164 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (eSST4B.VM1.local_reset,eSST4B.VR1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 168 * 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 {(35,58)} Notification: Performance of prepare postOptimizeDAE: time 0.0007181/0.6398, allocations: 271.9 kB / 0.6605 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008091/0.6406, allocations: 169.8 kB / 0.6606 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/0.6583, allocations: 5.122 MB / 0.6656 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.6584, allocations: 20 kB / 0.6656 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.6584, allocations: 0 / 0.6656 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.774e-05/0.6585, allocations: 7.969 kB / 0.6656 GB, free: 12.55 MB / 478.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.02367/0.6822, allocations: 7.425 MB / 0.6729 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/0.6822, allocations: 0 / 0.6729 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.6835, allocations: 183.8 kB / 0.6731 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008297/0.6918, allocations: 2.228 MB / 0.6753 GB, free: 2.562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004322/0.6923, allocations: 35.98 kB / 0.6753 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02739/0.7197, allocations: 10.89 MB / 0.6859 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7198, allocations: 3.938 kB / 0.6859 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02088/0.7406, allocations: 6.463 MB / 0.6922 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009556/0.7416, allocations: 282.5 kB / 0.6925 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007008/0.7424, allocations: 28 kB / 0.6925 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/0.7445, allocations: 155.8 kB / 0.6927 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/0.7457, allocations: 277.3 kB / 0.6929 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/0.7459, allocations: 32 kB / 0.693 GB, free: 76 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.7478, allocations: 0.9613 MB / 0.6939 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7479, allocations: 0 / 0.6939 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003529/0.7514, allocations: 0.9438 MB / 0.6948 GB, free: 14.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSST4B.VA.state,eSST4B.VR1.y,eSST4B.VM1.y,eSST4B.TransducerDelay.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 (87): * Single equations (assignments): 85 * 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,6), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004864/0.7519, allocations: 159.9 kB / 0.695 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01738/0.7693, allocations: 5.32 MB / 0.7002 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.7693, allocations: 0 / 0.7002 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006541/0.7759, allocations: 2.157 MB / 0.7023 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.778, allocations: 171.1 kB / 0.7025 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/0.7865, allocations: 4.138 MB / 0.7065 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009456/0.7875, allocations: 1.293 MB / 0.7078 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001072/0.7885, allocations: 174.8 kB / 0.7079 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.7891, allocations: 99.41 kB / 0.708 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.7891, allocations: 0 / 0.708 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of Templates: time 0.06339/0.8525, allocations: 38.48 MB / 0.7456 GB, free: 10.13 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe 2>&1)