Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery.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.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 181 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.383/1.383, allocations: 225.7 MB / 241.9 MB, free: 14.64 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.000827/0.000827, allocations: 97.23 kB / 293.1 MB, free: 4.738 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.167/0.167, allocations: 43.18 MB / 387.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 8 kB / 458.6 MB, free: 73.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08061/0.0809, allocations: 60.51 MB / 0.5069 GB, free: 13.21 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery): time 0.003013/0.08396, allocations: 4.133 MB / 0.511 GB, free: 9.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.08588, allocations: 1.986 MB / 0.5129 GB, free: 6.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.08611, allocations: 12 kB / 0.5129 GB, free: 6.926 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.08642, allocations: 127.2 kB / 0.513 GB, free: 6.801 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.08749, allocations: 0.8054 MB / 0.5138 GB, free: 5.922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.08823, allocations: 0.5835 MB / 0.5144 GB, free: 5.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.08883, allocations: 0.8875 MB / 0.5153 GB, free: 4.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.08908, allocations: 215.5 kB / 0.5155 GB, free: 4.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.08937, allocations: 354.3 kB / 0.5158 GB, free: 3.836 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.08978, allocations: 0.49 MB / 0.5163 GB, free: 3.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.08987, allocations: 40 kB / 0.5163 GB, free: 3.305 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.09013, allocations: 155.9 kB / 0.5165 GB, free: 3.152 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.09027, allocations: 179.1 kB / 0.5166 GB, free: 2.977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.09051, allocations: 415.2 kB / 0.517 GB, free: 2.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.09116, allocations: 1.039 MB / 0.518 GB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09117, allocations: 0 / 0.518 GB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09118, allocations: 0 / 0.518 GB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.09119, allocations: 0 / 0.518 GB, free: 1.52 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005468/0.09666, allocations: 1.898 MB / 0.5199 GB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.09671, allocations: 11.97 kB / 0.5199 GB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/0.1006, allocations: 0.628 MB / 0.5205 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009196/0.1015, allocations: 0.5736 MB / 0.5211 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.1018, allocations: 180 kB / 0.5213 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1019, allocations: 64 kB / 0.5213 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.1037, allocations: 0.8809 MB / 0.5222 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1037, allocations: 0 / 0.5222 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.1038, allocations: 20 kB / 0.5222 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1038, allocations: 12 kB / 0.5222 GB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.1058, allocations: 0.9498 MB / 0.5231 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.1095, allocations: 2.133 MB / 0.5252 GB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.1111, allocations: 0.7745 MB / 0.526 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.1124, allocations: 0.6916 MB / 0.5266 GB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.96e-05/0.1125, allocations: 8.656 kB / 0.5267 GB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1126, allocations: 47.16 kB / 0.5267 GB, free: 8.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 2.214e-06/0.1126, allocations: 4 kB / 0.5267 GB, free: 8.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.02284/0.1354, allocations: 6.663 MB / 0.5332 GB, free: 1.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1355, allocations: 60.06 kB / 0.5333 GB, free: 1.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.1363, allocations: 0.6253 MB / 0.5339 GB, free: 1.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.1364, allocations: 41.7 kB / 0.5339 GB, free: 1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1366, allocations: 325 kB / 0.5342 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.1369, allocations: 272.1 kB / 0.5345 GB, free: 416 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.137, allocations: 16 kB / 0.5345 GB, free: 400 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1371, allocations: 398.7 kB / 0.5349 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.1385, allocations: 0.6618 MB / 0.5355 GB, free: 15.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.1399, allocations: 0.7269 MB / 0.5362 GB, free: 14.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/0.1572, allocations: 4.466 MB / 0.5406 GB, free: 10.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1573, allocations: 0 / 0.5406 GB, free: 10.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01233/0.1696, allocations: 4.204 MB / 0.5447 GB, free: 5.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.1697, allocations: 12 kB / 0.5447 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1697, allocations: 0 / 0.5447 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/0.1755, allocations: 1.761 MB / 0.5464 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.1765, allocations: 167.8 kB / 0.5466 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2095/0.386, allocations: 8.647 MB / 0.555 GB, free: 44.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.3873, allocations: 172.7 kB / 0.5552 GB, free: 44.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/0.3874, allocations: 33.69 kB / 0.5552 GB, free: 44.93 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exponentialRecovery.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real exponentialRecovery.xp:VARIABLE(start = 0.0 fixed = true protected = true ) 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 (83): * Single equations (assignments): 82 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003694/0.3878, allocations: 221.2 kB / 0.5554 GB, free: 44.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3879, allocations: 82.56 kB / 0.5555 GB, free: 44.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.3999, allocations: 4.018 MB / 0.5595 GB, free: 44.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.4, allocations: 12.19 kB / 0.5595 GB, free: 44.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4, allocations: 0 / 0.5595 GB, free: 44.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.4, allocations: 5.25 kB / 0.5595 GB, free: 44.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.4014, allocations: 0.941 MB / 0.5604 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4014, allocations: 1.188 kB / 0.5604 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.402, allocations: 99 kB / 0.5605 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005198/0.4072, allocations: 1.722 MB / 0.5622 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.644e-05/0.4073, allocations: 11.88 kB / 0.5622 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.4222, allocations: 7.489 MB / 0.5695 GB, free: 39.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4222, allocations: 1.031 kB / 0.5695 GB, free: 39.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.4342, allocations: 4.869 MB / 0.5742 GB, free: 38.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.4344, allocations: 169.7 kB / 0.5744 GB, free: 38.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4345, allocations: 20.88 kB / 0.5744 GB, free: 38.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.4353, allocations: 111.9 kB / 0.5745 GB, free: 38.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004947/0.4358, allocations: 156.4 kB / 0.5747 GB, free: 37.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.4359, allocations: 23.98 kB / 0.5747 GB, free: 37.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.4363, allocations: 439 kB / 0.5751 GB, free: 37.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4363, allocations: 0 / 0.5751 GB, free: 37.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008824/0.4372, allocations: 349.1 kB / 0.5755 GB, free: 37.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,exponentialRecovery.xp,exponentialRecovery.xq) * 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 {(20,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.4374, allocations: 119.2 kB / 0.5756 GB, free: 37.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004959/0.4424, allocations: 2.277 MB / 0.5778 GB, free: 34.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4424, allocations: 0 / 0.5778 GB, free: 34.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003438/0.4459, allocations: 1.466 MB / 0.5792 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.4465, allocations: 62.92 kB / 0.5793 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.4494, allocations: 1.95 MB / 0.5812 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.4497, allocations: 0.9657 MB / 0.5821 GB, free: 30.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.45, allocations: 76.89 kB / 0.5822 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.4502, allocations: 43.42 kB / 0.5822 GB, free: 30.17 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4502, allocations: 4 kB / 0.5823 GB, free: 30.17 MB / 378.7 MB Notification: Performance of Templates: time 0.02105/0.4712, allocations: 17.74 MB / 0.5996 GB, free: 12.46 MB / 378.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery.sim & ./OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)