Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.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.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 176.5 kB / 15.43 MB, free: 6.203 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.334/1.334, allocations: 225.7 MB / 241.9 MB, free: 400 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.0007528/0.000753, allocations: 104.6 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.1685/0.1685, allocations: 43.17 MB / 387.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 12 kB / 458.6 MB, free: 55.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09707/0.09741, allocations: 60.5 MB / 0.5069 GB, free: 10.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSSE.TG.TGOV1): time 0.007366/0.1048, allocations: 7.316 MB / 0.5141 GB, free: 3.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005385/0.1103, allocations: 3.224 MB / 0.5172 GB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000979/0.1113, allocations: 12 kB / 0.5172 GB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.1121, allocations: 250.4 kB / 0.5175 GB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.1152, allocations: 1.605 MB / 0.519 GB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1166, allocations: 0.6087 MB / 0.5196 GB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.1191, allocations: 2.154 MB / 0.5217 GB, free: 11.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.1198, allocations: 338.7 kB / 0.5221 GB, free: 10.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.1211, allocations: 0.7505 MB / 0.5228 GB, free: 10.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.1228, allocations: 1.003 MB / 0.5238 GB, free: 9.195 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.123, allocations: 88 kB / 0.5239 GB, free: 9.109 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.1236, allocations: 247.8 kB / 0.5241 GB, free: 8.867 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.124, allocations: 358.3 kB / 0.5244 GB, free: 8.516 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007539/0.1247, allocations: 0.7976 MB / 0.5252 GB, free: 7.707 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.1265, allocations: 2.058 MB / 0.5272 GB, free: 5.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1265, allocations: 4 kB / 0.5272 GB, free: 5.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1265, allocations: 0 / 0.5272 GB, free: 5.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.1265, allocations: 0 / 0.5272 GB, free: 5.637 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01203/0.1386, allocations: 3.599 MB / 0.5307 GB, free: 1.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1386, allocations: 8.031 kB / 0.5307 GB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004428/0.1431, allocations: 0.7433 MB / 0.5315 GB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.1451, allocations: 1.089 MB / 0.5325 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1994/0.3446, allocations: 429.8 kB / 0.5329 GB, free: 31.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004716/0.3451, allocations: 103.8 kB / 0.533 GB, free: 31.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/0.3486, allocations: 1.443 MB / 0.5345 GB, free: 30.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3486, allocations: 5.188 kB / 0.5345 GB, free: 30.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3487, allocations: 35.69 kB / 0.5345 GB, free: 30.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.3487, allocations: 22.72 kB / 0.5345 GB, free: 30.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.3516, allocations: 1.382 MB / 0.5359 GB, free: 30.55 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.008663/0.3603, allocations: 4.747 MB / 0.5405 GB, free: 28.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008417/0.3687, allocations: 3.454 MB / 0.5439 GB, free: 26.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.3707, allocations: 0.9773 MB / 0.5448 GB, free: 26.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.3708, allocations: 20.95 kB / 0.5448 GB, free: 26.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002218/0.373, allocations: 1.133 MB / 0.546 GB, free: 26.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 3.016e-06/0.3731, allocations: 0 / 0.546 GB, free: 26.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.04053/0.4136, allocations: 12.08 MB / 0.5577 GB, free: 21.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.4137, allocations: 114.6 kB / 0.5579 GB, free: 21.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.4155, allocations: 1.34 MB / 0.5592 GB, free: 20.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003308/0.4158, allocations: 57.7 kB / 0.5592 GB, free: 20.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.4162, allocations: 0.5651 MB / 0.5598 GB, free: 19.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.4166, allocations: 452.5 kB / 0.5602 GB, free: 19.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.4167, allocations: 35.94 kB / 0.5602 GB, free: 19.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4168, allocations: 369.9 kB / 0.5606 GB, free: 18.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.4187, allocations: 1.031 MB / 0.5616 GB, free: 17.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.4206, allocations: 1.225 MB / 0.5628 GB, free: 16.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.4242, allocations: 2.21 MB / 0.565 GB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.4242, allocations: 0 / 0.565 GB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.008109/0.4323, allocations: 3.976 MB / 0.5688 GB, free: 10.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4324, allocations: 4 kB / 0.5688 GB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.4324, allocations: 4 kB / 0.5688 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008903/0.4413, allocations: 3.072 MB / 0.5718 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.4428, allocations: 291.6 kB / 0.5721 GB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.4483, allocations: 3.013 MB / 0.5751 GB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.4507, allocations: 286.3 kB / 0.5753 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.4508, allocations: 63.98 kB / 0.5754 GB, free: 3.566 MB / 362.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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006037/0.4514, allocations: 302.1 kB / 0.5757 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.4517, allocations: 154.1 kB / 0.5758 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.4667, allocations: 5.801 MB / 0.5815 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.4667, allocations: 16 kB / 0.5815 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4668, allocations: 3.625 kB / 0.5815 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.104e-05/0.4668, allocations: 7.969 kB / 0.5815 GB, free: 13.27 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.01891/0.4857, allocations: 7.898 MB / 0.5892 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.4858, allocations: 4 kB / 0.5892 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/0.4867, allocations: 135.8 kB / 0.5894 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00754/0.4943, allocations: 2.521 MB / 0.5918 GB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/0.4946, allocations: 27.98 kB / 0.5919 GB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/0.5194, allocations: 10.31 MB / 0.6019 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5195, allocations: 4 kB / 0.6019 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02008/0.5396, allocations: 7.03 MB / 0.6088 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/0.5402, allocations: 274.7 kB / 0.6091 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/0.5407, allocations: 24 kB / 0.6091 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.5425, allocations: 183.8 kB / 0.6093 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009611/0.5435, allocations: 249.3 kB / 0.6095 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.5437, allocations: 35.98 kB / 0.6095 GB, free: 280 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001594/0.5453, allocations: 0.8984 MB / 0.6104 GB, free: 15.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5453, allocations: 0 / 0.6104 GB, free: 15.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00175/0.547, allocations: 0.5107 MB / 0.6109 GB, free: 14.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.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 (81): * Single equations (assignments): 80 * 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.0003579/0.5474, allocations: 155.5 kB / 0.6111 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008515/0.5559, allocations: 3.135 MB / 0.6141 GB, free: 11.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.556, allocations: 4 kB / 0.6141 GB, free: 11.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00604/0.562, allocations: 2.154 MB / 0.6162 GB, free: 9.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.5636, allocations: 129 kB / 0.6163 GB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.5694, allocations: 3.62 MB / 0.6199 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.5702, allocations: 1.204 MB / 0.6211 GB, free: 4.402 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006554/0.5709, allocations: 137.7 kB / 0.6212 GB, free: 4.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.5713, allocations: 91.41 kB / 0.6213 GB, free: 4.176 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5713, allocations: 4 kB / 0.6213 GB, free: 4.172 MB / 410.7 MB Notification: Performance of Templates: time 0.04237/0.6137, allocations: 25.6 MB / 0.6463 GB, free: 10.57 MB / 442.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSSE.TG.TGOV1.pipe 2>&1)