Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.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.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 180.4 kB / 15.43 MB, free: 5.895 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.471/1.471, allocations: 225.7 MB / 241.9 MB, free: 164 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.0008011/0.0008012, allocations: 90.34 kB / 293.1 MB, free: 12.86 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.1743/0.1743, allocations: 43.18 MB / 387.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002831, allocations: 8 kB / 458.6 MB, free: 55.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09231, allocations: 60.51 MB / 0.5069 GB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order4test2): time 0.005441/0.09779, allocations: 5.348 MB / 0.5121 GB, free: 5.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.1014, allocations: 2.335 MB / 0.5144 GB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007761/0.1022, allocations: 12 kB / 0.5144 GB, free: 2.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.1028, allocations: 159 kB / 0.5146 GB, free: 2.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.1047, allocations: 0.9056 MB / 0.5155 GB, free: 1.852 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.106, allocations: 0.6733 MB / 0.5161 GB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.1075, allocations: 1.19 MB / 0.5173 GB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.1079, allocations: 239.5 kB / 0.5175 GB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006514/0.1086, allocations: 477.7 kB / 0.518 GB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007845/0.1094, allocations: 0.587 MB / 0.5185 GB, free: 14.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.1095, allocations: 44 kB / 0.5186 GB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.11, allocations: 179.9 kB / 0.5188 GB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.1102, allocations: 194.9 kB / 0.5189 GB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.1107, allocations: 0.5297 MB / 0.5195 GB, free: 13.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.112, allocations: 1.276 MB / 0.5207 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1121, allocations: 0 / 0.5207 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1121, allocations: 0 / 0.5207 GB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1121, allocations: 0 / 0.5207 GB, free: 12.41 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006627/0.1187, allocations: 2.186 MB / 0.5228 GB, free: 10.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1188, allocations: 12.03 kB / 0.5229 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/0.1235, allocations: 0.7673 MB / 0.5236 GB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009879/0.1245, allocations: 0.7088 MB / 0.5243 GB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.1248, allocations: 260.2 kB / 0.5245 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.125, allocations: 67.91 kB / 0.5246 GB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.127, allocations: 1.034 MB / 0.5256 GB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.127, allocations: 3.938 kB / 0.5256 GB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.1271, allocations: 24 kB / 0.5256 GB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1271, allocations: 16 kB / 0.5257 GB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.1292, allocations: 1.062 MB / 0.5267 GB, free: 6.133 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.1344, allocations: 3.241 MB / 0.5299 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.1365, allocations: 1.38 MB / 0.5312 GB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.1379, allocations: 0.7791 MB / 0.532 GB, free: 464 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.631e-05/0.138, allocations: 12.98 kB / 0.532 GB, free: 452 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1381, allocations: 43.56 kB / 0.532 GB, free: 400 kB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 4.298e-06/0.1381, allocations: 0 / 0.532 GB, free: 400 kB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.2127/0.3508, allocations: 8.05 MB / 0.5399 GB, free: 32.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.3509, allocations: 60.84 kB / 0.5399 GB, free: 31.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009676/0.3519, allocations: 0.7867 MB / 0.5407 GB, free: 31.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.352, allocations: 40.39 kB / 0.5408 GB, free: 31.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.3522, allocations: 436.2 kB / 0.5412 GB, free: 31.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.3525, allocations: 297.8 kB / 0.5415 GB, free: 31.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.3526, allocations: 20.12 kB / 0.5415 GB, free: 31.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.3526, allocations: 352.8 kB / 0.5418 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.3541, allocations: 0.7278 MB / 0.5425 GB, free: 30.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.3556, allocations: 0.8525 MB / 0.5433 GB, free: 30.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01695/0.3726, allocations: 5.013 MB / 0.5482 GB, free: 28.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.3726, allocations: 0 / 0.5482 GB, free: 28.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01352/0.3861, allocations: 4.973 MB / 0.5531 GB, free: 26.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3862, allocations: 9 kB / 0.5531 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3862, allocations: 3.938 kB / 0.5531 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00571/0.3919, allocations: 2.096 MB / 0.5552 GB, free: 25.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/0.3928, allocations: 183.7 kB / 0.5553 GB, free: 25.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/0.4106, allocations: 9.481 MB / 0.5646 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4119, allocations: 203 kB / 0.5648 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.412, allocations: 37.78 kB / 0.5648 GB, free: 15.43 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: Generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Generator.e1q:VARIABLE(start = Generator.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: 10 * 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 (100): * Single equations (assignments): 99 * 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 {(24,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003647/0.4124, allocations: 231.8 kB / 0.565 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.4125, allocations: 102.7 kB / 0.5651 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.4244, allocations: 4.723 MB / 0.5698 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4244, allocations: 9.406 kB / 0.5698 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.4244, allocations: 0 / 0.5698 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4245, allocations: 11.86 kB / 0.5698 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.4379, allocations: 6.28 MB / 0.5759 GB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.4379, allocations: 0 / 0.5759 GB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.4385, allocations: 99.83 kB / 0.576 GB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00545/0.4439, allocations: 2.059 MB / 0.578 GB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.4441, allocations: 14.25 kB / 0.578 GB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/0.4614, allocations: 8.194 MB / 0.586 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4614, allocations: 3.984 kB / 0.586 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.4769, allocations: 5.719 MB / 0.5916 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.4774, allocations: 187.7 kB / 0.5918 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.4775, allocations: 20 kB / 0.5918 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/0.4784, allocations: 119.9 kB / 0.5919 GB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006288/0.4791, allocations: 196.7 kB / 0.5921 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.4792, allocations: 25.95 kB / 0.5921 GB, free: 3.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006348/0.4798, allocations: 0.5263 MB / 0.5927 GB, free: 2.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4798, allocations: 0 / 0.5927 GB, free: 2.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00114/0.481, allocations: 414.9 kB / 0.5931 GB, free: 2.211 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002735/0.4812, allocations: 133.7 kB / 0.5932 GB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006344/0.4876, allocations: 2.569 MB / 0.5957 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4876, allocations: 0 / 0.5957 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004664/0.4923, allocations: 1.693 MB / 0.5973 GB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.493, allocations: 84.53 kB / 0.5974 GB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.496, allocations: 2.215 MB / 0.5996 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.4966, allocations: 1.037 MB / 0.6006 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002743/0.4969, allocations: 74.31 kB / 0.6007 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.4971, allocations: 59.42 kB / 0.6007 GB, free: 10.26 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4971, allocations: 0 / 0.6007 GB, free: 10.26 MB / 394.7 MB Notification: Performance of Templates: time 0.02946/0.5265, allocations: 19.65 MB / 0.6199 GB, free: 6.617 MB / 410.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe 2>&1)