Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.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.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 177.8 kB / 15.43 MB, free: 6.215 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.298/1.298, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.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.0009727/0.0009726, allocations: 99.44 kB / 293 MB, free: 4.855 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.224/0.224, allocations: 43.18 MB / 387.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.000347, allocations: 8 kB / 458.6 MB, free: 73.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 60.51 MB / 0.5069 GB, free: 13.21 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Loads.PSAT.LoadTestPQ): time 0.003413/0.1086, allocations: 4.059 MB / 0.5109 GB, free: 9.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.1113, allocations: 1.982 MB / 0.5128 GB, free: 7.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006068/0.1119, allocations: 8 kB / 0.5128 GB, free: 7.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.1125, allocations: 131.2 kB / 0.513 GB, free: 6.875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.114, allocations: 0.7965 MB / 0.5137 GB, free: 6.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.1149, allocations: 0.5991 MB / 0.5143 GB, free: 5.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009163/0.1158, allocations: 0.8759 MB / 0.5152 GB, free: 4.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.1161, allocations: 207.5 kB / 0.5154 GB, free: 4.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000491/0.1166, allocations: 354.3 kB / 0.5157 GB, free: 3.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.1172, allocations: 477.8 kB / 0.5162 GB, free: 3.453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.1173, allocations: 40 kB / 0.5162 GB, free: 3.414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.1177, allocations: 147.9 kB / 0.5163 GB, free: 3.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1178, allocations: 171.2 kB / 0.5165 GB, free: 3.102 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.1181, allocations: 399.2 kB / 0.5169 GB, free: 2.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.1187, allocations: 1.008 MB / 0.5179 GB, free: 1.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1188, allocations: 0 / 0.5179 GB, free: 1.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1188, allocations: 0 / 0.5179 GB, free: 1.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1188, allocations: 0 / 0.5179 GB, free: 1.691 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.005583/0.1244, allocations: 1.867 MB / 0.5197 GB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1244, allocations: 12.03 kB / 0.5197 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.1284, allocations: 0.6241 MB / 0.5203 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1296, allocations: 0.5735 MB / 0.5209 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.1298, allocations: 176.1 kB / 0.521 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.13, allocations: 52 kB / 0.5211 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.1317, allocations: 0.8614 MB / 0.5219 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1317, allocations: 0 / 0.5219 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.1318, allocations: 24 kB / 0.522 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.1318, allocations: 12 kB / 0.522 GB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.1338, allocations: 0.907 MB / 0.5229 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.1378, allocations: 2.063 MB / 0.5249 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1393, allocations: 0.7074 MB / 0.5256 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.1406, allocations: 0.6642 MB / 0.5262 GB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.1407, allocations: 12.55 kB / 0.5262 GB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1407, allocations: 39.12 kB / 0.5263 GB, free: 8.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 2.424e-06/0.1407, allocations: 4 kB / 0.5263 GB, free: 8.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.02671/0.1675, allocations: 6.173 MB / 0.5323 GB, free: 2.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.1676, allocations: 55.97 kB / 0.5323 GB, free: 2.629 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.1692, allocations: 0.6369 MB / 0.533 GB, free: 1.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002289/0.1695, allocations: 37.7 kB / 0.533 GB, free: 1.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.1699, allocations: 325 kB / 0.5333 GB, free: 1.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/0.1704, allocations: 236.6 kB / 0.5335 GB, free: 1.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.1706, allocations: 20 kB / 0.5336 GB, free: 1.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002885/0.1709, allocations: 386.8 kB / 0.5339 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.1737, allocations: 0.6422 MB / 0.5345 GB, free: 344 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/0.1765, allocations: 0.7074 MB / 0.5352 GB, free: 15.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02993/0.2065, allocations: 4.324 MB / 0.5395 GB, free: 11.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.2066, allocations: 0 / 0.5395 GB, free: 11.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.02278/0.2294, allocations: 4.095 MB / 0.5435 GB, free: 7.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.2294, allocations: 4 kB / 0.5435 GB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.2295, allocations: 0 / 0.5435 GB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008682/0.2382, allocations: 1.697 MB / 0.5451 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.2395, allocations: 163.8 kB / 0.5453 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2696/0.5091, allocations: 7.963 MB / 0.5531 GB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.5104, allocations: 159.5 kB / 0.5532 GB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.5106, allocations: 29.64 kB / 0.5532 GB, free: 45.42 MB / 378.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 (80): * Single equations (assignments): 79 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004938/0.5111, allocations: 213.1 kB / 0.5534 GB, free: 45.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.5113, allocations: 78.88 kB / 0.5535 GB, free: 45.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.5231, allocations: 3.884 MB / 0.5573 GB, free: 44.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.5232, allocations: 6.312 kB / 0.5573 GB, free: 44.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5232, allocations: 3.938 kB / 0.5573 GB, free: 44.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.5232, allocations: 5.094 kB / 0.5573 GB, free: 44.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.5244, allocations: 0.9146 MB / 0.5582 GB, free: 44.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5244, allocations: 3.938 kB / 0.5582 GB, free: 44.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.5249, allocations: 83.31 kB / 0.5583 GB, free: 44.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005078/0.53, allocations: 1.66 MB / 0.5599 GB, free: 44.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.88e-05/0.5301, allocations: 17.11 kB / 0.5599 GB, free: 44.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.5434, allocations: 6.841 MB / 0.5666 GB, free: 41.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5435, allocations: 5.375 kB / 0.5666 GB, free: 41.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/0.5551, allocations: 4.702 MB / 0.5712 GB, free: 39.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.5554, allocations: 160.9 kB / 0.5714 GB, free: 39.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.5556, allocations: 19.88 kB / 0.5714 GB, free: 39.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007896/0.5564, allocations: 115.5 kB / 0.5715 GB, free: 39.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005695/0.557, allocations: 157.7 kB / 0.5716 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.5571, allocations: 19.28 kB / 0.5717 GB, free: 39.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007471/0.5579, allocations: 441.3 kB / 0.5721 GB, free: 39.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5579, allocations: 0 / 0.5721 GB, free: 39.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001424/0.5593, allocations: 319.4 kB / 0.5724 GB, free: 39.54 MB / 378.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 (40): * Single equations (assignments): 39 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002712/0.5596, allocations: 127.3 kB / 0.5725 GB, free: 39.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007891/0.5675, allocations: 2.182 MB / 0.5746 GB, free: 37.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.5676, allocations: 0 / 0.5746 GB, free: 37.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005739/0.5733, allocations: 1.412 MB / 0.576 GB, free: 36.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.5744, allocations: 58.94 kB / 0.5761 GB, free: 36.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.5793, allocations: 1.859 MB / 0.5779 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.5798, allocations: 0.9541 MB / 0.5788 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004717/0.5803, allocations: 76.67 kB / 0.5789 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.5806, allocations: 43.42 kB / 0.5789 GB, free: 33.23 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5806, allocations: 0 / 0.5789 GB, free: 33.23 MB / 378.7 MB Notification: Performance of Templates: time 0.02127/0.6018, allocations: 16.25 MB / 0.5948 GB, free: 17 MB / 378.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe 2>&1)