Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip.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.Loads.PSAT.LoadTestZip,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestZip,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 181.5 kB / 15.43 MB, free: 5.762 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.34/1.34, 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.0008086/0.0008087, allocations: 92.34 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.1689/0.1689, allocations: 43.18 MB / 387.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 8 kB / 458.6 MB, free: 55.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09272, allocations: 60.5 MB / 0.5069 GB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Loads.PSAT.LoadTestZip): time 0.004298/0.09705, allocations: 4.117 MB / 0.5109 GB, free: 6.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.09986, allocations: 1.978 MB / 0.5129 GB, free: 4.617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006439/0.1005, allocations: 8 kB / 0.5129 GB, free: 4.609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00081/0.1014, allocations: 123.3 kB / 0.513 GB, free: 4.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.1042, allocations: 0.8054 MB / 0.5138 GB, free: 3.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.1062, allocations: 0.5835 MB / 0.5143 GB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.1082, allocations: 0.8759 MB / 0.5152 GB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005555/0.1087, allocations: 203.5 kB / 0.5154 GB, free: 1.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007849/0.1095, allocations: 342.3 kB / 0.5157 GB, free: 1.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009946/0.1106, allocations: 497.7 kB / 0.5162 GB, free: 1.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.1108, allocations: 36 kB / 0.5162 GB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.1113, allocations: 155.9 kB / 0.5164 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.1116, allocations: 171.1 kB / 0.5165 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.1121, allocations: 407.2 kB / 0.5169 GB, free: 316 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.1136, allocations: 1.02 MB / 0.5179 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1136, allocations: 0 / 0.5179 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1137, allocations: 0 / 0.5179 GB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1137, allocations: 0 / 0.5179 GB, free: 15.29 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.009433/0.1231, allocations: 1.886 MB / 0.5198 GB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1232, allocations: 8.031 kB / 0.5198 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00656/0.1298, allocations: 0.6164 MB / 0.5204 GB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.131, allocations: 0.5852 MB / 0.521 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.1313, allocations: 180 kB / 0.5211 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.1315, allocations: 48 kB / 0.5212 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.1343, allocations: 0.8692 MB / 0.522 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1343, allocations: 0 / 0.522 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.1345, allocations: 20 kB / 0.522 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.1345, allocations: 12 kB / 0.522 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.1377, allocations: 0.9187 MB / 0.5229 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005729/0.1434, allocations: 2.098 MB / 0.525 GB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.1457, allocations: 0.7231 MB / 0.5257 GB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.1479, allocations: 0.672 MB / 0.5264 GB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.148, allocations: 12.56 kB / 0.5264 GB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.1481, allocations: 43.12 kB / 0.5264 GB, free: 6.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=70): time 3.457e-06/0.1481, allocations: 3.938 kB / 0.5264 GB, free: 6.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=70): time 0.2195/0.3676, allocations: 6.455 MB / 0.5327 GB, free: 31.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.3677, allocations: 60.53 kB / 0.5328 GB, free: 31.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/0.3687, allocations: 0.6326 MB / 0.5334 GB, free: 31.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.3689, allocations: 38.39 kB / 0.5334 GB, free: 31.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.3691, allocations: 318.4 kB / 0.5337 GB, free: 31.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.3694, allocations: 253.4 kB / 0.534 GB, free: 31.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.3695, allocations: 16.34 kB / 0.534 GB, free: 31.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3696, allocations: 394.1 kB / 0.5344 GB, free: 30.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.3709, allocations: 0.6478 MB / 0.535 GB, free: 30.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.3722, allocations: 0.7143 MB / 0.5357 GB, free: 30.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/0.3883, allocations: 4.368 MB / 0.54 GB, free: 29.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3884, allocations: 0 / 0.54 GB, free: 29.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01263/0.401, allocations: 4.156 MB / 0.544 GB, free: 28.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.4011, allocations: 9.219 kB / 0.544 GB, free: 28.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4011, allocations: 1.562 kB / 0.544 GB, free: 28.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005808/0.4069, allocations: 1.757 MB / 0.5457 GB, free: 28.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.4079, allocations: 158.2 kB / 0.5459 GB, free: 28.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/0.4249, allocations: 8.326 MB / 0.554 GB, free: 24.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.4262, allocations: 165 kB / 0.5542 GB, free: 24.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/0.4263, allocations: 26.91 kB / 0.5542 GB, free: 24.71 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (77): * Single equations (assignments): 76 * 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 {(19,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003487/0.4266, allocations: 222.5 kB / 0.5544 GB, free: 24.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.4268, allocations: 80.19 kB / 0.5545 GB, free: 24.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.4368, allocations: 3.97 MB / 0.5584 GB, free: 22.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4369, allocations: 5.078 kB / 0.5584 GB, free: 22.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4369, allocations: 0 / 0.5584 GB, free: 22.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4369, allocations: 11.92 kB / 0.5584 GB, free: 22.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/0.4378, allocations: 0.9221 MB / 0.5593 GB, free: 21.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4378, allocations: 0 / 0.5593 GB, free: 21.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.4383, allocations: 95.88 kB / 0.5594 GB, free: 21.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004711/0.443, allocations: 1.718 MB / 0.5611 GB, free: 19.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/0.4431, allocations: 12 kB / 0.5611 GB, free: 19.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.4559, allocations: 7.157 MB / 0.5681 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4559, allocations: 0 / 0.5681 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.4668, allocations: 4.804 MB / 0.5728 GB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.4671, allocations: 160 kB / 0.5729 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4672, allocations: 17.84 kB / 0.5729 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007838/0.468, allocations: 116.8 kB / 0.573 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/0.4685, allocations: 160.4 kB / 0.5732 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.4686, allocations: 16 kB / 0.5732 GB, free: 7.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004138/0.469, allocations: 439 kB / 0.5736 GB, free: 6.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.469, allocations: 0 / 0.5736 GB, free: 6.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008456/0.4699, allocations: 335.7 kB / 0.5739 GB, free: 6.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (39): * Single equations (assignments): 38 * 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 {(20,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.47, allocations: 137.7 kB / 0.5741 GB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00481/0.4749, allocations: 2.218 MB / 0.5762 GB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4749, allocations: 0 / 0.5762 GB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003333/0.4782, allocations: 1.439 MB / 0.5776 GB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.4788, allocations: 58.98 kB / 0.5777 GB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.4819, allocations: 1.909 MB / 0.5796 GB, free: 484 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.4823, allocations: 0.9617 MB / 0.5805 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.4826, allocations: 76.8 kB / 0.5806 GB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.4828, allocations: 43.42 kB / 0.5806 GB, free: 15.36 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4828, allocations: 0 / 0.5806 GB, free: 15.36 MB / 378.7 MB Notification: Performance of Templates: time 0.02788/0.5106, allocations: 17.24 MB / 0.5975 GB, free: 14.15 MB / 394.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip.sim & ./OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestZip.pipe 2>&1)