Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 176.5 kB / 15.43 MB, free: 6.207 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.338/1.338, 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.0008046/0.0008047, allocations: 94.02 kB / 293.1 MB, free: 12.9 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.5 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 8.906 kB / 458.6 MB, free: 55.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 60.5 MB / 0.5069 GB, free: 10.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Loads.PSAT.LoadTestMixed): time 0.004095/0.1127, allocations: 4.16 MB / 0.511 GB, free: 6.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.1157, allocations: 1.99 MB / 0.5129 GB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.116, allocations: 8 kB / 0.5129 GB, free: 4.559 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.1164, allocations: 123.3 kB / 0.513 GB, free: 4.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.1178, allocations: 0.812 MB / 0.5138 GB, free: 3.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.1188, allocations: 0.5952 MB / 0.5144 GB, free: 2.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009335/0.1197, allocations: 0.8992 MB / 0.5153 GB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.12, allocations: 199.6 kB / 0.5155 GB, free: 1.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.1204, allocations: 358.3 kB / 0.5158 GB, free: 1.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.121, allocations: 0.4939 MB / 0.5163 GB, free: 0.957 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.743e-05/0.1211, allocations: 40 kB / 0.5163 GB, free: 0.918 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.1215, allocations: 159.9 kB / 0.5165 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1217, allocations: 187 kB / 0.5167 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.122, allocations: 411.2 kB / 0.5171 GB, free: 172 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009634/0.123, allocations: 1.039 MB / 0.5181 GB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.123, allocations: 0 / 0.5181 GB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.123, allocations: 0 / 0.5181 GB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.123, allocations: 0 / 0.5181 GB, free: 15.12 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.006095/0.1291, allocations: 1.906 MB / 0.5199 GB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1292, allocations: 8.031 kB / 0.52 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003853/0.1331, allocations: 0.6281 MB / 0.5206 GB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.1339, allocations: 0.5774 MB / 0.5211 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.1341, allocations: 188 kB / 0.5213 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.1343, allocations: 56 kB / 0.5214 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.1361, allocations: 0.8809 MB / 0.5222 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1361, allocations: 0 / 0.5222 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/0.1362, allocations: 23.98 kB / 0.5222 GB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1362, allocations: 12 kB / 0.5223 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.1382, allocations: 0.9421 MB / 0.5232 GB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.1419, allocations: 2.137 MB / 0.5253 GB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.1435, allocations: 0.794 MB / 0.526 GB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.1448, allocations: 0.6879 MB / 0.5267 GB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.063e-05/0.1449, allocations: 8.656 kB / 0.5267 GB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1449, allocations: 39.22 kB / 0.5268 GB, free: 6.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.815e-06/0.1449, allocations: 0 / 0.5268 GB, free: 6.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.2367/0.3817, allocations: 7.015 MB / 0.5336 GB, free: 31.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3818, allocations: 60.16 kB / 0.5337 GB, free: 31.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.3828, allocations: 0.6296 MB / 0.5343 GB, free: 31.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.383, allocations: 38.55 kB / 0.5343 GB, free: 31.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.3833, allocations: 332.9 kB / 0.5346 GB, free: 31.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.3835, allocations: 267.2 kB / 0.5349 GB, free: 31.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.3836, allocations: 16.97 kB / 0.5349 GB, free: 31.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3838, allocations: 392.2 kB / 0.5353 GB, free: 31.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.3852, allocations: 0.6633 MB / 0.5359 GB, free: 31.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.3867, allocations: 0.7292 MB / 0.5366 GB, free: 30.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/0.4045, allocations: 4.494 MB / 0.541 GB, free: 29.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4046, allocations: 0 / 0.541 GB, free: 29.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01351/0.4181, allocations: 4.26 MB / 0.5452 GB, free: 28.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.4182, allocations: 9.203 kB / 0.5452 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4182, allocations: 0 / 0.5452 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006129/0.4243, allocations: 1.815 MB / 0.547 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/0.4253, allocations: 159.3 kB / 0.5471 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/0.4427, allocations: 8.593 MB / 0.5555 GB, free: 24.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.4438, allocations: 173.3 kB / 0.5557 GB, free: 24.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/0.4439, allocations: 31.11 kB / 0.5557 GB, free: 24 MB / 362.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 mixed.y:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv 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 (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,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0003399/0.4442, allocations: 225.7 kB / 0.5559 GB, free: 23.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4444, allocations: 80.38 kB / 0.556 GB, free: 23.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.4549, allocations: 4.064 MB / 0.56 GB, free: 20.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.455, allocations: 8.984 kB / 0.56 GB, free: 20.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.455, allocations: 0 / 0.56 GB, free: 20.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.455, allocations: 13.42 kB / 0.56 GB, free: 20.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.4563, allocations: 0.9469 MB / 0.5609 GB, free: 19.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4563, allocations: 0 / 0.5609 GB, free: 19.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.4568, allocations: 91.89 kB / 0.561 GB, free: 19.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005225/0.462, allocations: 1.784 MB / 0.5627 GB, free: 17.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.4621, allocations: 16 kB / 0.5628 GB, free: 17.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/0.4757, allocations: 7.391 MB / 0.57 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4757, allocations: 4 kB / 0.57 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.4877, allocations: 4.91 MB / 0.5748 GB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.488, allocations: 157.4 kB / 0.5749 GB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.4881, allocations: 24.8 kB / 0.5749 GB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007953/0.4889, allocations: 118.9 kB / 0.5751 GB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005009/0.4894, allocations: 160.4 kB / 0.5752 GB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.4895, allocations: 23.98 kB / 0.5752 GB, free: 4.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004173/0.4899, allocations: 439 kB / 0.5757 GB, free: 4.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4899, allocations: 0 / 0.5757 GB, free: 4.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008673/0.4908, allocations: 354.5 kB / 0.576 GB, free: 3.953 MB / 362.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,mixed.x,mixed.y) * 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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001919/0.491, allocations: 129.8 kB / 0.5761 GB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005066/0.4961, allocations: 2.271 MB / 0.5783 GB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.4961, allocations: 4.062 kB / 0.5783 GB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003594/0.4997, allocations: 1.472 MB / 0.5798 GB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.5004, allocations: 74.33 kB / 0.5798 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.504, allocations: 1.951 MB / 0.5818 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.5046, allocations: 0.9696 MB / 0.5827 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000301/0.5049, allocations: 80.83 kB / 0.5828 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5051, allocations: 39.42 kB / 0.5828 GB, free: 12.9 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5051, allocations: 0 / 0.5828 GB, free: 12.9 MB / 378.7 MB Notification: Performance of Templates: time 0.02989/0.535, allocations: 18.36 MB / 0.6007 GB, free: 10.57 MB / 394.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestMixed.pipe 2>&1)