Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.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.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, 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.466/1.466, 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.0008408/0.000841, allocations: 88.77 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.1708/0.1708, allocations: 43.17 MB / 387.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004864, allocations: 8 kB / 458.6 MB, free: 55.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.13, allocations: 60.51 MB / 0.5069 GB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test): time 0.005318/0.1353, allocations: 4.596 MB / 0.5114 GB, free: 6.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003977/0.1393, allocations: 2.115 MB / 0.5135 GB, free: 3.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008695/0.1402, allocations: 8 kB / 0.5135 GB, free: 3.984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.1409, allocations: 147.1 kB / 0.5136 GB, free: 3.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.1428, allocations: 0.8279 MB / 0.5144 GB, free: 2.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1442, allocations: 0.6655 MB / 0.5151 GB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1454, allocations: 1.07 MB / 0.5161 GB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.1458, allocations: 199.9 kB / 0.5163 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.1464, allocations: 426 kB / 0.5167 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.147, allocations: 0.5443 MB / 0.5173 GB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1471, allocations: 48 kB / 0.5173 GB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.1475, allocations: 167.9 kB / 0.5175 GB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1477, allocations: 187 kB / 0.5176 GB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.1481, allocations: 459 kB / 0.5181 GB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1492, allocations: 1.156 MB / 0.5192 GB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1492, allocations: 0 / 0.5192 GB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1492, allocations: 0 / 0.5192 GB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1492, allocations: 0 / 0.5192 GB, free: 13.97 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.007165/0.1564, allocations: 2.116 MB / 0.5213 GB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.1564, allocations: 8.031 kB / 0.5213 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/0.1612, allocations: 0.7487 MB / 0.522 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.1626, allocations: 0.6352 MB / 0.5226 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.1629, allocations: 243.5 kB / 0.5229 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.1632, allocations: 64 kB / 0.5229 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1655, allocations: 1.053 MB / 0.524 GB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1655, allocations: 0 / 0.524 GB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/0.1656, allocations: 24 kB / 0.524 GB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.1656, allocations: 12 kB / 0.524 GB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.168, allocations: 1.044 MB / 0.525 GB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005197/0.1732, allocations: 2.535 MB / 0.5275 GB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.1759, allocations: 1.114 MB / 0.5286 GB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.1775, allocations: 0.7818 MB / 0.5293 GB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.812e-05/0.1776, allocations: 16.66 kB / 0.5294 GB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1776, allocations: 39.22 kB / 0.5294 GB, free: 3.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 3.807e-06/0.1776, allocations: 3.984 kB / 0.5294 GB, free: 3.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=80): time 0.2786/0.4562, allocations: 8.722 MB / 0.5379 GB, free: 32.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.4563, allocations: 60.41 kB / 0.538 GB, free: 32.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.4578, allocations: 0.6662 MB / 0.5386 GB, free: 31.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003431/0.4582, allocations: 40.89 kB / 0.5387 GB, free: 31.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/0.4587, allocations: 350.8 kB / 0.539 GB, free: 31.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/0.4592, allocations: 290.9 kB / 0.5393 GB, free: 31.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.4593, allocations: 20.12 kB / 0.5393 GB, free: 31.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002533/0.4596, allocations: 397.4 kB / 0.5397 GB, free: 31.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.4614, allocations: 0.7392 MB / 0.5404 GB, free: 30.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.4633, allocations: 0.747 MB / 0.5411 GB, free: 30.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/0.4822, allocations: 5.026 MB / 0.546 GB, free: 29.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4823, allocations: 1.438 kB / 0.546 GB, free: 29.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01497/0.4973, allocations: 5.106 MB / 0.551 GB, free: 27.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4973, allocations: 6.75 kB / 0.551 GB, free: 27.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4973, allocations: 0 / 0.551 GB, free: 27.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00651/0.5039, allocations: 2.214 MB / 0.5532 GB, free: 26.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.5047, allocations: 158.4 kB / 0.5533 GB, free: 26.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.5255, allocations: 10.21 MB / 0.5633 GB, free: 17.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.527, allocations: 187.1 kB / 0.5635 GB, free: 17.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.5272, allocations: 31.98 kB / 0.5635 GB, free: 17.07 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: gen.e1q:VARIABLE(start = gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {(25,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005059/0.5277, allocations: 220.5 kB / 0.5637 GB, free: 16.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.5279, allocations: 86.95 kB / 0.5638 GB, free: 16.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.5402, allocations: 4.905 MB / 0.5686 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.5402, allocations: 8 kB / 0.5686 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5402, allocations: 3.984 kB / 0.5686 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.5403, allocations: 7.984 kB / 0.5686 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.5417, allocations: 1.06 MB / 0.5697 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5417, allocations: 0 / 0.5697 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.5422, allocations: 79.91 kB / 0.5697 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005792/0.548, allocations: 2.159 MB / 0.5718 GB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.5482, allocations: 16 kB / 0.5719 GB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/0.5657, allocations: 8.815 MB / 0.5805 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.5658, allocations: 11 kB / 0.5805 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.5819, allocations: 5.843 MB / 0.5862 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.5823, allocations: 171.9 kB / 0.5863 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.5826, allocations: 20 kB / 0.5864 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.5837, allocations: 127.9 kB / 0.5865 GB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007696/0.5845, allocations: 192.2 kB / 0.5867 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.5846, allocations: 24 kB / 0.5867 GB, free: 9.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007156/0.5854, allocations: 467 kB / 0.5871 GB, free: 8.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5854, allocations: 0 / 0.5871 GB, free: 8.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001535/0.5869, allocations: 399 kB / 0.5875 GB, free: 8.254 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00034/0.5873, allocations: 124.8 kB / 0.5876 GB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006773/0.5941, allocations: 2.604 MB / 0.5902 GB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5941, allocations: 0 / 0.5902 GB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0049/0.599, allocations: 1.718 MB / 0.5919 GB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.5999, allocations: 66.98 kB / 0.5919 GB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.6046, allocations: 2.21 MB / 0.5941 GB, free: 1.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.6053, allocations: 0.982 MB / 0.595 GB, free: 488 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.6056, allocations: 65.38 kB / 0.5951 GB, free: 420 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.6058, allocations: 47.42 kB / 0.5951 GB, free: 372 kB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6058, allocations: 0 / 0.5951 GB, free: 372 kB / 378.7 MB Notification: Performance of Templates: time 0.03562/0.6414, allocations: 20.37 MB / 0.615 GB, free: 11.99 MB / 410.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)