Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001578, allocations: 178.9 kB / 15.43 MB, free: 5.777 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.342/1.342, 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.0007702/0.0007702, allocations: 83.36 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.1702/0.1702, allocations: 43.16 MB / 387.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 11.98 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09108, allocations: 60.51 MB / 0.5069 GB, free: 10.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order3test2): time 0.008575/0.09972, allocations: 5.309 MB / 0.5121 GB, free: 5.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00575/0.1055, allocations: 2.327 MB / 0.5144 GB, free: 3.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.107, allocations: 8 kB / 0.5144 GB, free: 3.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009731/0.108, allocations: 162.9 kB / 0.5145 GB, free: 2.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.1122, allocations: 0.9055 MB / 0.5154 GB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.115, allocations: 0.6655 MB / 0.5161 GB, free: 1.215 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.1175, allocations: 1.19 MB / 0.5172 GB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006537/0.1182, allocations: 235.6 kB / 0.5175 GB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.1192, allocations: 473.7 kB / 0.5179 GB, free: 15.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1203, allocations: 0.5986 MB / 0.5185 GB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.1205, allocations: 48 kB / 0.5185 GB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007101/0.1213, allocations: 163.9 kB / 0.5187 GB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.1216, allocations: 202.9 kB / 0.5189 GB, free: 14.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000694/0.1223, allocations: 0.518 MB / 0.5194 GB, free: 13.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.1243, allocations: 1.284 MB / 0.5207 GB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1243, allocations: 3.984 kB / 0.5207 GB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1243, allocations: 0 / 0.5207 GB, free: 12.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1243, allocations: 0 / 0.5207 GB, free: 12.48 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.01222/0.1366, allocations: 2.193 MB / 0.5228 GB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.1366, allocations: 12.03 kB / 0.5228 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008761/0.1454, allocations: 0.7634 MB / 0.5236 GB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.148, allocations: 0.7088 MB / 0.5242 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000558/0.1486, allocations: 264.2 kB / 0.5245 GB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/0.149, allocations: 64 kB / 0.5246 GB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/0.1536, allocations: 1.022 MB / 0.5256 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.1536, allocations: 7.938 kB / 0.5256 GB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.1538, allocations: 39.98 kB / 0.5256 GB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.1538, allocations: 16 kB / 0.5256 GB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/0.1582, allocations: 1.054 MB / 0.5266 GB, free: 6.203 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.01039/0.1686, allocations: 3.236 MB / 0.5298 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/0.172, allocations: 1.371 MB / 0.5311 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/0.1744, allocations: 0.778 MB / 0.5319 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1746, allocations: 12.64 kB / 0.5319 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.1746, allocations: 43.22 kB / 0.532 GB, free: 484 kB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 3.888e-06/0.1746, allocations: 0 / 0.532 GB, free: 484 kB / 362.7 MB Notification: Performance of matching and sorting (n=82): time 0.2835/0.4581, allocations: 8.394 MB / 0.5402 GB, free: 31.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.4583, allocations: 60.78 kB / 0.5402 GB, free: 31.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.4597, allocations: 0.7922 MB / 0.541 GB, free: 31.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.4599, allocations: 40.45 kB / 0.541 GB, free: 31.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.4603, allocations: 435.4 kB / 0.5414 GB, free: 31.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.4606, allocations: 295.1 kB / 0.5417 GB, free: 30.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.4607, allocations: 27.3 kB / 0.5418 GB, free: 30.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4608, allocations: 346.8 kB / 0.5421 GB, free: 30.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.4624, allocations: 0.7205 MB / 0.5428 GB, free: 30.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.4641, allocations: 0.8401 MB / 0.5436 GB, free: 30.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/0.4822, allocations: 4.974 MB / 0.5485 GB, free: 28.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.4823, allocations: 4.688 kB / 0.5485 GB, free: 28.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01324/0.4955, allocations: 4.95 MB / 0.5533 GB, free: 26.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.4956, allocations: 11.62 kB / 0.5533 GB, free: 26.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.4956, allocations: 0 / 0.5533 GB, free: 26.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005712/0.5014, allocations: 2.108 MB / 0.5554 GB, free: 24.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/0.5023, allocations: 191.7 kB / 0.5556 GB, free: 24.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/0.5204, allocations: 9.531 MB / 0.5649 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.5218, allocations: 195 kB / 0.565 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.5218, allocations: 35.98 kB / 0.5651 GB, free: 14.91 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.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 (96): * Single equations (assignments): 95 * 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 {(25,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003796/0.5222, allocations: 235.2 kB / 0.5653 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.5224, allocations: 98.78 kB / 0.5654 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.5344, allocations: 4.735 MB / 0.57 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5344, allocations: 8 kB / 0.57 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5344, allocations: 3.938 kB / 0.57 GB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.5345, allocations: 3.984 kB / 0.57 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.5478, allocations: 6.265 MB / 0.5762 GB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.5479, allocations: 0 / 0.5762 GB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.5484, allocations: 99.89 kB / 0.5763 GB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006204/0.5546, allocations: 2.053 MB / 0.5783 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.5548, allocations: 12 kB / 0.5783 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.5717, allocations: 8.224 MB / 0.5863 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5717, allocations: 0 / 0.5863 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/0.5866, allocations: 5.683 MB / 0.5919 GB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.5869, allocations: 191.6 kB / 0.592 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.587, allocations: 20 kB / 0.5921 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/0.5879, allocations: 123.9 kB / 0.5922 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006048/0.5885, allocations: 196.7 kB / 0.5924 GB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.5886, allocations: 23.94 kB / 0.5924 GB, free: 2.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006252/0.5892, allocations: 0.5343 MB / 0.5929 GB, free: 2.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5892, allocations: 0 / 0.5929 GB, free: 2.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001077/0.5903, allocations: 407 kB / 0.5933 GB, free: 1.699 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0002107/0.5906, allocations: 125 kB / 0.5934 GB, free: 1.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006692/0.5973, allocations: 2.574 MB / 0.5959 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5973, allocations: 0.5625 kB / 0.5959 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005553/0.6029, allocations: 1.681 MB / 0.5976 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.604, allocations: 83.27 kB / 0.5976 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.6081, allocations: 2.136 MB / 0.5997 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.6088, allocations: 1.037 MB / 0.6007 GB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000413/0.6092, allocations: 78.19 kB / 0.6008 GB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.6095, allocations: 51.44 kB / 0.6009 GB, free: 9.855 MB / 394.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6095, allocations: 0 / 0.6009 GB, free: 9.855 MB / 394.7 MB Notification: Performance of Templates: time 0.03879/0.6483, allocations: 19.69 MB / 0.6201 GB, free: 6.168 MB / 410.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe 2>&1)