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.001345/0.001345, allocations: 168.8 kB / 16.1 MB, free: 5.691 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.674/1.674, allocations: 223.3 MB / 240.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 99.95 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5422/0.5422, allocations: 78.61 MB / 421 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005255, allocations: 16 kB / 0.4894 GB, free: 9.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3567, allocations: 69.34 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.008371/0.3652, allocations: 8.575 MB / 0.5655 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00605/0.3712, allocations: 2.789 MB / 0.5682 GB, free: 7.387 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.3734, allocations: 16 kB / 0.5683 GB, free: 7.371 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.3748, allocations: 278.2 kB / 0.5685 GB, free: 7.098 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.3791, allocations: 1.146 MB / 0.5696 GB, free: 5.953 MB / 378.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.002081/0.3812, allocations: 0.7659 MB / 0.5704 GB, free: 5.195 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.3844, allocations: 2.521 MB / 0.5728 GB, free: 2.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.3853, allocations: 463.8 kB / 0.5733 GB, free: 2.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.3868, allocations: 0.8593 MB / 0.5741 GB, free: 1.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.3885, allocations: 1.116 MB / 0.5752 GB, free: 208 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006742/0.3892, allocations: 92 kB / 0.5753 GB, free: 116 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.3904, allocations: 315.8 kB / 0.5756 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000492/0.391, allocations: 405.9 kB / 0.576 GB, free: 15.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.392, allocations: 0.9217 MB / 0.5769 GB, free: 14.47 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.3939, allocations: 1.932 MB / 0.5788 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3939, allocations: 4 kB / 0.5788 GB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3939, allocations: 0 / 0.5788 GB, free: 12.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.3939, allocations: 4 kB / 0.5788 GB, free: 12.53 MB / 394.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.01377/0.4077, allocations: 3.995 MB / 0.5827 GB, free: 8.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.4078, allocations: 8.031 kB / 0.5827 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.4124, allocations: 0.778 MB / 0.5835 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.4153, allocations: 1.251 MB / 0.5847 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006264/0.4159, allocations: 0.5798 MB / 0.5852 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.4162, allocations: 131.9 kB / 0.5854 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.4195, allocations: 1.673 MB / 0.587 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.4195, allocations: 4 kB / 0.587 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.4197, allocations: 44 kB / 0.5871 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.4197, allocations: 24 kB / 0.5871 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.4233, allocations: 1.598 MB / 0.5886 GB, free: 2.172 MB / 394.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.009996/0.4333, allocations: 5.696 MB / 0.5942 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00898/0.4423, allocations: 3.704 MB / 0.5978 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.4445, allocations: 1.065 MB / 0.5989 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.4446, allocations: 29.28 kB / 0.5989 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00236/0.447, allocations: 1.24 MB / 0.6001 GB, free: 6.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=140): time 3.276e-06/0.447, allocations: 0 / 0.6001 GB, free: 6.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.04072/0.4877, allocations: 11.76 MB / 0.6116 GB, free: 10.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.4879, allocations: 171.5 kB / 0.6117 GB, free: 10.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.4909, allocations: 1.576 MB / 0.6133 GB, free: 8.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004533/0.4914, allocations: 57.7 kB / 0.6133 GB, free: 8.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/0.492, allocations: 0.6793 MB / 0.614 GB, free: 7.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006009/0.4926, allocations: 0.4968 MB / 0.6145 GB, free: 7.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.4929, allocations: 185.6 kB / 0.6147 GB, free: 7.016 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.493, allocations: 309.1 kB / 0.615 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.4955, allocations: 1.125 MB / 0.616 GB, free: 5.582 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/0.4981, allocations: 1.351 MB / 0.6174 GB, free: 4.172 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/0.503, allocations: 2.441 MB / 0.6198 GB, free: 1.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.5031, allocations: 4 kB / 0.6198 GB, free: 1.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01818/0.5213, allocations: 6.662 MB / 0.6263 GB, free: 10.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.5215, allocations: 228.9 kB / 0.6265 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.5216, allocations: 4 kB / 0.6265 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009333/0.5309, allocations: 2.959 MB / 0.6294 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.5326, allocations: 327.5 kB / 0.6297 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006995/0.5397, allocations: 3.24 MB / 0.6329 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.5424, allocations: 345.9 kB / 0.6332 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.5426, allocations: 63.98 kB / 0.6332 GB, free: 3.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5426, allocations: 4 kB / 0.6332 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0174/0.5601, allocations: 6.456 MB / 0.6395 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.5601, allocations: 4 kB / 0.6396 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008947/0.5691, allocations: 2.943 MB / 0.6424 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.5708, allocations: 319.6 kB / 0.6427 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006928/0.5778, allocations: 3.217 MB / 0.6459 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/0.5808, allocations: 314.3 kB / 0.6462 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.581, allocations: 67.98 kB / 0.6462 GB, free: 6.387 MB / 458.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.0009519/0.582, allocations: 413.7 kB / 0.6466 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.5823, allocations: 177.8 kB / 0.6468 GB, free: 5.797 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/0.5998, allocations: 6.024 MB / 0.6527 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/0.5999, allocations: 16 kB / 0.6527 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.6, allocations: 0 / 0.6527 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.723e-05/0.6, allocations: 11.97 kB / 0.6527 GB, free: 15.73 MB / 474.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.02215/0.6222, allocations: 8.5 MB / 0.661 GB, free: 7.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/0.6223, allocations: 4 kB / 0.661 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.6236, allocations: 183.7 kB / 0.6612 GB, free: 6.906 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007751/0.6314, allocations: 2.521 MB / 0.6637 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003245/0.6317, allocations: 31.98 kB / 0.6637 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02575/0.6575, allocations: 10.32 MB / 0.6738 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6575, allocations: 0 / 0.6738 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/0.6787, allocations: 7.347 MB / 0.6809 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009401/0.6797, allocations: 298.5 kB / 0.6812 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006129/0.6803, allocations: 28 kB / 0.6812 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/0.6825, allocations: 207.8 kB / 0.6814 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009976/0.6836, allocations: 265.3 kB / 0.6817 GB, free: 1.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.6837, allocations: 39.98 kB / 0.6817 GB, free: 1.668 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002533/0.6863, allocations: 1.072 MB / 0.6828 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6863, allocations: 0 / 0.6828 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.3684/1.055, allocations: 0.908 MB / 0.6837 GB, free: 115.9 MB / 490.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.0004842/1.055, allocations: 148.5 kB / 0.6838 GB, free: 115.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01791/1.073, allocations: 5.814 MB / 0.6895 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.073, allocations: 0 / 0.6895 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007028/1.08, allocations: 2.256 MB / 0.6917 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.082, allocations: 166.3 kB / 0.6918 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/1.088, allocations: 4.266 MB / 0.696 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/1.089, allocations: 1.314 MB / 0.6973 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/1.089, allocations: 109.5 kB / 0.6974 GB, free: 111.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.382e-06/1.089, allocations: 0 / 0.6974 GB, free: 111.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02778/1.117, allocations: 28.8 MB / 0.7255 GB, free: 87.21 MB / 490.7 MB 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)