Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 180.9 kB / 15.43 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.7 MB / 241.9 MB, free: 384 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007885/0.0007884, allocations: 95.69 kB / 293.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2146/0.2146, allocations: 43.17 MB / 387.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004601, allocations: 8.562 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 60.5 MB / 0.5069 GB, free: 10.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSSE.TG.GAST): time 0.007941/0.1248, allocations: 8.412 MB / 0.5151 GB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.1312, allocations: 3.749 MB / 0.5188 GB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.1329, allocations: 20 kB / 0.5188 GB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009735/0.1339, allocations: 290.1 kB / 0.5191 GB, free: 14.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.1374, allocations: 1.636 MB / 0.5207 GB, free: 12.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.139, allocations: 0.7764 MB / 0.5214 GB, free: 11.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.142, allocations: 2.579 MB / 0.524 GB, free: 9.012 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007172/0.1427, allocations: 494.6 kB / 0.5244 GB, free: 8.496 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1439, allocations: 0.8748 MB / 0.5253 GB, free: 7.617 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.1452, allocations: 1.143 MB / 0.5264 GB, free: 6.469 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.1455, allocations: 100 kB / 0.5265 GB, free: 6.371 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.1461, allocations: 331.7 kB / 0.5268 GB, free: 6.047 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.1465, allocations: 421.9 kB / 0.5272 GB, free: 5.633 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008718/0.1474, allocations: 0.945 MB / 0.5281 GB, free: 4.676 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.1499, allocations: 2.557 MB / 0.5306 GB, free: 2.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1499, allocations: 0 / 0.5306 GB, free: 2.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1499, allocations: 0 / 0.5306 GB, free: 2.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.258e-05/0.15, allocations: 4 kB / 0.5306 GB, free: 2.102 MB / 362.7 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.2067/0.3566, allocations: 3.889 MB / 0.5344 GB, free: 31.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3567, allocations: 8.344 kB / 0.5344 GB, free: 31.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.3616, allocations: 0.7901 MB / 0.5352 GB, free: 31.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.3642, allocations: 1.293 MB / 0.5365 GB, free: 30.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/0.3646, allocations: 482.7 kB / 0.5369 GB, free: 30.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.365, allocations: 130.4 kB / 0.5371 GB, free: 30.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.3684, allocations: 1.692 MB / 0.5387 GB, free: 29.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.3684, allocations: 1.125 kB / 0.5387 GB, free: 29.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.3686, allocations: 46.59 kB / 0.5388 GB, free: 29.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.3686, allocations: 32.09 kB / 0.5388 GB, free: 29.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.3721, allocations: 1.588 MB / 0.5403 GB, free: 28.96 MB / 362.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.01084/0.3829, allocations: 5.925 MB / 0.5461 GB, free: 25.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/0.3921, allocations: 3.732 MB / 0.5498 GB, free: 24.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.3943, allocations: 1.076 MB / 0.5508 GB, free: 23.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004026/0.3948, allocations: 0.7467 MB / 0.5516 GB, free: 22.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002359/0.3971, allocations: 1.271 MB / 0.5528 GB, free: 21.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=148): time 3.617e-06/0.3971, allocations: 1.031 kB / 0.5528 GB, free: 21.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=148): time 0.03905/0.4362, allocations: 12 MB / 0.5645 GB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.4363, allocations: 141.8 kB / 0.5647 GB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.4386, allocations: 1.635 MB / 0.5663 GB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003937/0.439, allocations: 57.7 kB / 0.5663 GB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.4394, allocations: 0.7065 MB / 0.567 GB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/0.4399, allocations: 0.5286 MB / 0.5675 GB, free: 11.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.44, allocations: 40 kB / 0.5675 GB, free: 11.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.4401, allocations: 390.3 kB / 0.5679 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.4422, allocations: 1.148 MB / 0.569 GB, free: 9.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.4443, allocations: 1.381 MB / 0.5704 GB, free: 8.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/0.4484, allocations: 2.486 MB / 0.5728 GB, free: 5.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4484, allocations: 4 kB / 0.5728 GB, free: 5.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009032/0.4574, allocations: 4.376 MB / 0.5771 GB, free: 1.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.4575, allocations: 37.64 kB / 0.5771 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.4575, allocations: 5.562 kB / 0.5771 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009113/0.4666, allocations: 3.031 MB / 0.5801 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.4687, allocations: 383.5 kB / 0.5805 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.4756, allocations: 3.001 MB / 0.5834 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.4785, allocations: 350 kB / 0.5837 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004033/0.4789, allocations: 75.98 kB / 0.5838 GB, free: 10.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.00104/0.48, allocations: 349.3 kB / 0.5841 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006022/0.4806, allocations: 185.7 kB / 0.5843 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/0.4987, allocations: 6.234 MB / 0.5904 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.4988, allocations: 16 kB / 0.5904 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.4988, allocations: 0 / 0.5904 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.671e-05/0.4989, allocations: 11.97 kB / 0.5904 GB, free: 3.395 MB / 378.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.02217/0.5211, allocations: 8.706 MB / 0.5989 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.5211, allocations: 0 / 0.5989 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.5223, allocations: 171.8 kB / 0.5991 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008126/0.5304, allocations: 2.617 MB / 0.6016 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003438/0.5308, allocations: 35.98 kB / 0.6017 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02667/0.5575, allocations: 12.21 MB / 0.6136 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5575, allocations: 0 / 0.6136 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02078/0.5783, allocations: 7.497 MB / 0.6209 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007798/0.5792, allocations: 306.5 kB / 0.6212 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/0.5797, allocations: 28.88 kB / 0.6213 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.5818, allocations: 215.7 kB / 0.6215 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009973/0.5829, allocations: 282 kB / 0.6217 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.583, allocations: 47.92 kB / 0.6218 GB, free: 2.867 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002105/0.5852, allocations: 1.094 MB / 0.6228 GB, free: 1.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5852, allocations: 0 / 0.6228 GB, free: 1.781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002171/0.5873, allocations: 0.6002 MB / 0.6234 GB, free: 1.184 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * 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 {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000474/0.5878, allocations: 176.4 kB / 0.6236 GB, free: 1.012 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009524/0.5974, allocations: 3.489 MB / 0.627 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5974, allocations: 0 / 0.627 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006774/0.6042, allocations: 2.419 MB / 0.6294 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/0.6068, allocations: 179.9 kB / 0.6295 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/0.6141, allocations: 4.379 MB / 0.6338 GB, free: 6.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009842/0.6151, allocations: 1.339 MB / 0.6351 GB, free: 5.102 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008941/0.6161, allocations: 183.6 kB / 0.6353 GB, free: 4.918 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/0.6166, allocations: 99.42 kB / 0.6354 GB, free: 4.82 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6166, allocations: 0 / 0.6354 GB, free: 4.82 MB / 426.7 MB Notification: Performance of Templates: time 0.04994/0.6665, allocations: 29.29 MB / 0.664 GB, free: 7.551 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.GAST.pipe 2>&1)