Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 176 kB / 15.42 MB, free: 5.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239 MB, free: 1.609 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007181/0.0007179, allocations: 105.6 kB / 289.8 MB, free: 14.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.47/0.47, allocations: 78.42 MB / 418.9 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 16 kB / 498.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4155, allocations: 68.74 MB / 0.5539 GB, free: 39.77 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.009156/0.4247, allocations: 9.11 MB / 0.5628 GB, free: 35.63 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006232/0.431, allocations: 2.808 MB / 0.5655 GB, free: 34.6 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.4331, allocations: 21.53 kB / 0.5655 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4342, allocations: 277.9 kB / 0.5658 GB, free: 34.49 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.438, allocations: 1.155 MB / 0.5669 GB, free: 34.01 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001985/0.44, allocations: 0.7658 MB / 0.5677 GB, free: 33.63 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.4433, allocations: 2.516 MB / 0.5701 GB, free: 32.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000647/0.4439, allocations: 477.2 kB / 0.5706 GB, free: 32.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.4451, allocations: 0.8556 MB / 0.5714 GB, free: 31.85 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009011/0.446, allocations: 1.111 MB / 0.5725 GB, free: 31.36 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.4462, allocations: 93.84 kB / 0.5726 GB, free: 31.36 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007554/0.447, allocations: 317.1 kB / 0.5729 GB, free: 31.28 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.4473, allocations: 402.3 kB / 0.5733 GB, free: 31.06 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006727/0.4479, allocations: 0.889 MB / 0.5742 GB, free: 30.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.4499, allocations: 2.454 MB / 0.5766 GB, free: 29.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4499, allocations: 0 / 0.5766 GB, free: 29.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4499, allocations: 0 / 0.5766 GB, free: 29.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.177e-05/0.4499, allocations: 0 / 0.5766 GB, free: 29.62 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01309/0.463, allocations: 3.882 MB / 0.5803 GB, free: 28.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4631, allocations: 10.75 kB / 0.5804 GB, free: 28.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.4678, allocations: 0.7687 MB / 0.5811 GB, free: 27.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.4699, allocations: 1.244 MB / 0.5823 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.4704, allocations: 0.5672 MB / 0.5829 GB, free: 26.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.4706, allocations: 131.8 kB / 0.583 GB, free: 26.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.4733, allocations: 1.59 MB / 0.5846 GB, free: 25.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4734, allocations: 0 / 0.5846 GB, free: 25.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.4735, allocations: 48.91 kB / 0.5846 GB, free: 25.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.4735, allocations: 25.62 kB / 0.5846 GB, free: 25.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.4764, allocations: 1.503 MB / 0.5861 GB, free: 25.41 MB / 426.7 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.00864/0.485, allocations: 5.6 MB / 0.5916 GB, free: 22.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008003/0.4931, allocations: 3.127 MB / 0.5946 GB, free: 21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.4952, allocations: 0.9877 MB / 0.5956 GB, free: 20.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.4954, allocations: 25.73 kB / 0.5956 GB, free: 20.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002482/0.4979, allocations: 1.154 MB / 0.5967 GB, free: 20.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=140): time 4.318e-06/0.4979, allocations: 0 / 0.5967 GB, free: 20.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.03903/0.537, allocations: 9.614 MB / 0.6061 GB, free: 17.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.5371, allocations: 177.9 kB / 0.6063 GB, free: 17.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.5399, allocations: 1.576 MB / 0.6078 GB, free: 16.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004142/0.5403, allocations: 56.27 kB / 0.6079 GB, free: 16.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004688/0.5408, allocations: 0.6804 MB / 0.6085 GB, free: 15.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/0.5413, allocations: 0.4976 MB / 0.609 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.5416, allocations: 186.2 kB / 0.6092 GB, free: 15.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.5416, allocations: 305.1 kB / 0.6095 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.5438, allocations: 1.048 MB / 0.6105 GB, free: 14.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.5461, allocations: 1.264 MB / 0.6118 GB, free: 13.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004349/0.5505, allocations: 2.262 MB / 0.614 GB, free: 12.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.5505, allocations: 1.25 kB / 0.614 GB, free: 12.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01554/0.5661, allocations: 5.61 MB / 0.6195 GB, free: 7.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.5663, allocations: 232.9 kB / 0.6197 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5663, allocations: 4 kB / 0.6197 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00792/0.5742, allocations: 2.588 MB / 0.6222 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.5759, allocations: 323.5 kB / 0.6225 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.5818, allocations: 2.908 MB / 0.6254 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/0.5848, allocations: 290 kB / 0.6256 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.5851, allocations: 75.92 kB / 0.6257 GB, free: 1.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5851, allocations: 4 kB / 0.6257 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01613/0.6012, allocations: 5.413 MB / 0.631 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.6013, allocations: 0 / 0.631 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008571/0.6099, allocations: 2.568 MB / 0.6335 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.6116, allocations: 319.5 kB / 0.6338 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/0.6183, allocations: 2.896 MB / 0.6366 GB, free: 6.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/0.6216, allocations: 266.3 kB / 0.6369 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/0.622, allocations: 67.98 kB / 0.637 GB, free: 5.809 MB / 442.7 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 (187): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * 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 {(29,44)} Notification: Performance of prepare postOptimizeDAE: time 0.001218/0.6232, allocations: 417.4 kB / 0.6373 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005806/0.6238, allocations: 177.8 kB / 0.6375 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/0.6402, allocations: 4.965 MB / 0.6424 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/0.6403, allocations: 16 kB / 0.6424 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.6403, allocations: 4 kB / 0.6424 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.741e-05/0.6404, allocations: 7.969 kB / 0.6424 GB, free: 212 kB / 442.7 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.01995/0.6603, allocations: 7.445 MB / 0.6497 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.6604, allocations: 0 / 0.6497 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.6616, allocations: 183.8 kB / 0.6498 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007094/0.6687, allocations: 2.143 MB / 0.6519 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003377/0.6691, allocations: 31.98 kB / 0.652 GB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/0.6916, allocations: 9.174 MB / 0.6609 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6916, allocations: 0 / 0.6609 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/0.7103, allocations: 6.194 MB / 0.667 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.7112, allocations: 298.5 kB / 0.6673 GB, free: 6.406 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.7115, allocations: 31.98 kB / 0.6673 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.7133, allocations: 155.8 kB / 0.6674 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008315/0.7141, allocations: 265.2 kB / 0.6677 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7143, allocations: 39.98 kB / 0.6677 GB, free: 5.926 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001838/0.7161, allocations: 1.072 MB / 0.6688 GB, free: 4.859 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7161, allocations: 0 / 0.6688 GB, free: 4.859 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002488/0.7186, allocations: 0.9049 MB / 0.6697 GB, free: 3.953 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.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 (97): * Single equations (assignments): 96 * 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.0003241/0.7189, allocations: 159 kB / 0.6698 GB, free: 3.789 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01913/0.7381, allocations: 5.152 MB / 0.6748 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.7382, allocations: 0 / 0.6748 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008354/0.7465, allocations: 1.98 MB / 0.6768 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.7488, allocations: 171 kB / 0.6769 GB, free: 12.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/0.7583, allocations: 4.064 MB / 0.6809 GB, free: 8.363 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.7596, allocations: 1.304 MB / 0.6822 GB, free: 7.035 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001819/0.7614, allocations: 203.1 kB / 0.6824 GB, free: 6.832 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.762, allocations: 103.4 kB / 0.6825 GB, free: 6.73 MB / 490.7 MB Notification: Performance of SimCode: time 2.996e-06/0.762, allocations: 0 / 0.6825 GB, free: 6.73 MB / 490.7 MB Notification: Performance of Templates: time 0.07784/0.8398, allocations: 34.33 MB / 0.716 GB, free: 4.418 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)