Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009221/0.0009222, allocations: 180.8 kB / 15.43 MB, free: 5.77 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.498/1.498, allocations: 225.7 MB / 241.9 MB, free: 380 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.0008085/0.0008085, allocations: 86.75 kB / 293.1 MB, free: 12.9 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.1701/0.1701, allocations: 43.19 MB / 387.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09347, 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.008061/0.1016, allocations: 8.416 MB / 0.5151 GB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.1075, allocations: 3.745 MB / 0.5188 GB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.1092, allocations: 16 kB / 0.5188 GB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.1104, allocations: 294.1 kB / 0.5191 GB, free: 14.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.1144, allocations: 1.64 MB / 0.5207 GB, free: 12.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.1165, allocations: 0.757 MB / 0.5214 GB, free: 11.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003538/0.1201, allocations: 2.595 MB / 0.524 GB, free: 9.012 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009776/0.1211, allocations: 498.6 kB / 0.5244 GB, free: 8.492 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.1226, allocations: 0.8592 MB / 0.5253 GB, free: 7.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/0.1245, allocations: 1.155 MB / 0.5264 GB, free: 6.469 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007668/0.1253, allocations: 100 kB / 0.5265 GB, free: 6.371 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.1266, allocations: 335.7 kB / 0.5268 GB, free: 6.043 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007536/0.1273, allocations: 417.9 kB / 0.5272 GB, free: 5.633 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.1293, allocations: 0.9489 MB / 0.5281 GB, free: 4.672 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.1329, allocations: 2.549 MB / 0.5306 GB, free: 2.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.133, allocations: 3.938 kB / 0.5306 GB, free: 2.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.133, allocations: 0 / 0.5306 GB, free: 2.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.1331, allocations: 0 / 0.5306 GB, free: 2.105 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.1968/0.3299, allocations: 3.891 MB / 0.5344 GB, free: 30.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3299, allocations: 10.03 kB / 0.5344 GB, free: 30.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004911/0.3348, allocations: 0.7901 MB / 0.5352 GB, free: 30.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.3379, allocations: 1.291 MB / 0.5365 GB, free: 30.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005101/0.3385, allocations: 481.4 kB / 0.5369 GB, free: 29.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/0.339, allocations: 129.5 kB / 0.5371 GB, free: 29.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/0.343, allocations: 1.696 MB / 0.5387 GB, free: 29.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.3431, allocations: 4.969 kB / 0.5387 GB, free: 29.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.3432, allocations: 51.55 kB / 0.5388 GB, free: 29.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.3433, allocations: 27.81 kB / 0.5388 GB, free: 29.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/0.347, allocations: 1.58 MB / 0.5403 GB, free: 28.79 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.01299/0.36, allocations: 5.926 MB / 0.5461 GB, free: 25.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008875/0.3689, allocations: 3.743 MB / 0.5498 GB, free: 23.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/0.3712, allocations: 1.076 MB / 0.5508 GB, free: 23.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.3717, allocations: 0.7347 MB / 0.5516 GB, free: 22.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002801/0.3745, allocations: 1.282 MB / 0.5528 GB, free: 21.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=148): time 7.805e-06/0.3746, allocations: 0 / 0.5528 GB, free: 21.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=148): time 0.03948/0.414, allocations: 11.99 MB / 0.5645 GB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4141, allocations: 149.8 kB / 0.5647 GB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.4169, allocations: 1.635 MB / 0.5663 GB, free: 12.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004098/0.4173, allocations: 57.7 kB / 0.5663 GB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/0.4179, allocations: 0.7033 MB / 0.567 GB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008105/0.4187, allocations: 0.5271 MB / 0.5675 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/0.4191, allocations: 44 kB / 0.5675 GB, free: 10.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4193, allocations: 394.3 kB / 0.5679 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.4217, allocations: 1.144 MB / 0.569 GB, free: 9.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.424, allocations: 1.385 MB / 0.5704 GB, free: 8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/0.4282, allocations: 2.481 MB / 0.5728 GB, free: 5.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.4282, allocations: 8 kB / 0.5728 GB, free: 5.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009398/0.4376, allocations: 4.37 MB / 0.5771 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.4377, allocations: 37.64 kB / 0.5771 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.4377, allocations: 8 kB / 0.5771 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009134/0.4469, allocations: 3.025 MB / 0.5801 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.449, allocations: 387.5 kB / 0.5805 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/0.4556, allocations: 3.007 MB / 0.5834 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/0.4588, allocations: 346 kB / 0.5837 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/0.4592, allocations: 75.98 kB / 0.5838 GB, free: 10.08 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.001043/0.4603, allocations: 349.9 kB / 0.5841 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005845/0.4608, allocations: 189.7 kB / 0.5843 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01791/0.4788, allocations: 6.229 MB / 0.5904 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/0.4789, allocations: 16 kB / 0.5904 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.4789, allocations: 0 / 0.5904 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.818e-05/0.4789, allocations: 11.91 kB / 0.5904 GB, free: 3.266 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.02272/0.5017, allocations: 8.705 MB / 0.5989 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.5017, allocations: 0.875 kB / 0.5989 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.5029, allocations: 171.7 kB / 0.5991 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008119/0.511, allocations: 2.617 MB / 0.6016 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004803/0.5115, allocations: 31.98 kB / 0.6017 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/0.5396, allocations: 12.22 MB / 0.6136 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5397, allocations: 0 / 0.6136 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/0.5606, allocations: 7.502 MB / 0.6209 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/0.5615, allocations: 302.5 kB / 0.6212 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008484/0.5624, allocations: 32 kB / 0.6213 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/0.5647, allocations: 215.8 kB / 0.6215 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/0.5658, allocations: 281.2 kB / 0.6217 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002831/0.5661, allocations: 43.98 kB / 0.6218 GB, free: 2.746 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002264/0.5684, allocations: 1.09 MB / 0.6228 GB, free: 1.664 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5684, allocations: 4 kB / 0.6228 GB, free: 1.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002508/0.571, allocations: 0.6041 MB / 0.6234 GB, free: 1.059 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.0005023/0.5715, allocations: 168.1 kB / 0.6236 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009825/0.5813, allocations: 3.495 MB / 0.627 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.5814, allocations: 0 / 0.627 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006757/0.5881, allocations: 2.421 MB / 0.6294 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.5902, allocations: 171.7 kB / 0.6295 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/0.5972, allocations: 4.385 MB / 0.6338 GB, free: 6.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009581/0.5982, allocations: 1.339 MB / 0.6351 GB, free: 4.977 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009046/0.5991, allocations: 171.6 kB / 0.6353 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.5996, allocations: 107.4 kB / 0.6354 GB, free: 4.699 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5996, allocations: 4 kB / 0.6354 GB, free: 4.695 MB / 426.7 MB Notification: Performance of Templates: time 0.04928/0.6489, allocations: 29.29 MB / 0.664 GB, free: 7.43 MB / 458.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.GAST.pipe 2>&1)