Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001326/0.001326, allocations: 177.9 kB / 15.43 MB, free: 5.762 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.409/1.409, allocations: 225.7 MB / 241.9 MB, free: 384 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.000904/0.000904, allocations: 84.92 kB / 293.1 MB, free: 12.89 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.2098/0.2098, allocations: 43.16 MB / 387.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 8 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 60.51 MB / 0.5069 GB, free: 10.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order4test2): time 0.007023/0.1149, allocations: 5.344 MB / 0.5121 GB, free: 5.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.1194, allocations: 2.335 MB / 0.5144 GB, free: 3.023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/0.12, allocations: 12 kB / 0.5144 GB, free: 3.012 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.1205, allocations: 159 kB / 0.5146 GB, free: 2.855 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.1226, allocations: 0.9134 MB / 0.5155 GB, free: 1.867 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.001635/0.1243, allocations: 0.6771 MB / 0.5161 GB, free: 1.152 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.1259, allocations: 1.19 MB / 0.5173 GB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.1264, allocations: 235.6 kB / 0.5175 GB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007237/0.1272, allocations: 477.6 kB / 0.518 GB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008602/0.128, allocations: 0.587 MB / 0.5185 GB, free: 14.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1282, allocations: 52 kB / 0.5186 GB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.1287, allocations: 171.9 kB / 0.5188 GB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.129, allocations: 194.9 kB / 0.5189 GB, free: 14.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006356/0.1296, allocations: 0.5258 MB / 0.5195 GB, free: 13.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1313, allocations: 1.276 MB / 0.5207 GB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1313, allocations: 4 kB / 0.5207 GB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1313, allocations: 0 / 0.5207 GB, free: 12.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.1314, allocations: 0 / 0.5207 GB, free: 12.42 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.009594/0.141, allocations: 2.189 MB / 0.5228 GB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.141, allocations: 8.031 kB / 0.5229 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007282/0.1483, allocations: 0.7673 MB / 0.5236 GB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.1499, allocations: 0.7088 MB / 0.5243 GB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/0.1503, allocations: 260.2 kB / 0.5245 GB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.1505, allocations: 71.91 kB / 0.5246 GB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.1537, allocations: 1.03 MB / 0.5256 GB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1537, allocations: 3.938 kB / 0.5256 GB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.1538, allocations: 27.98 kB / 0.5256 GB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.1539, allocations: 16 kB / 0.5257 GB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003233/0.1571, allocations: 1.066 MB / 0.5267 GB, free: 6.141 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.007509/0.1646, allocations: 3.233 MB / 0.5299 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.1677, allocations: 1.384 MB / 0.5312 GB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.1698, allocations: 0.7752 MB / 0.532 GB, free: 480 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.17, allocations: 20.92 kB / 0.532 GB, free: 460 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.17, allocations: 39.56 kB / 0.532 GB, free: 412 kB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 5.45e-06/0.17, allocations: 0 / 0.532 GB, free: 412 kB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.2856/0.4557, allocations: 8.047 MB / 0.5399 GB, free: 31.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.4557, allocations: 62.91 kB / 0.5399 GB, free: 31.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.4574, allocations: 0.7849 MB / 0.5407 GB, free: 31.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.4576, allocations: 41.55 kB / 0.5408 GB, free: 31.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.4579, allocations: 438.8 kB / 0.5412 GB, free: 31.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.4583, allocations: 298.2 kB / 0.5415 GB, free: 30.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4585, allocations: 20.12 kB / 0.5415 GB, free: 30.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.4586, allocations: 353 kB / 0.5418 GB, free: 30.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.4608, allocations: 0.7228 MB / 0.5425 GB, free: 30.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.4632, allocations: 0.8571 MB / 0.5434 GB, free: 30.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0243/0.4875, allocations: 5.012 MB / 0.5482 GB, free: 28.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.4876, allocations: 0 / 0.5482 GB, free: 28.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01894/0.5065, allocations: 4.973 MB / 0.5531 GB, free: 26.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.5066, allocations: 7.188 kB / 0.5531 GB, free: 26.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5066, allocations: 3.938 kB / 0.5531 GB, free: 26.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008382/0.515, allocations: 2.087 MB / 0.5552 GB, free: 25.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.5163, allocations: 199.7 kB / 0.5553 GB, free: 25.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02666/0.543, allocations: 9.472 MB / 0.5646 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.5448, allocations: 191 kB / 0.5648 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/0.545, allocations: 41.81 kB / 0.5648 GB, free: 15.2 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.0007136/0.5458, allocations: 239 kB / 0.565 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/0.5461, allocations: 106.7 kB / 0.5651 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/0.5634, allocations: 4.723 MB / 0.5698 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.5634, allocations: 8 kB / 0.5698 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.5634, allocations: 0 / 0.5698 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.5634, allocations: 7.922 kB / 0.5698 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/0.5829, allocations: 6.283 MB / 0.5759 GB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.583, allocations: 0 / 0.5759 GB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.5837, allocations: 99.89 kB / 0.576 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008177/0.5919, allocations: 2.051 MB / 0.578 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.5921, allocations: 19.98 kB / 0.578 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02679/0.6189, allocations: 8.205 MB / 0.586 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.619, allocations: 0 / 0.586 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/0.6415, allocations: 5.719 MB / 0.5916 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.642, allocations: 187.7 kB / 0.5918 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.6423, allocations: 12 kB / 0.5918 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.6438, allocations: 131.9 kB / 0.5919 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000943/0.6447, allocations: 196.6 kB / 0.5921 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.6449, allocations: 25.86 kB / 0.5922 GB, free: 2.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.6459, allocations: 0.5224 MB / 0.5927 GB, free: 2.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6459, allocations: 0 / 0.5927 GB, free: 2.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001879/0.6478, allocations: 407 kB / 0.593 GB, free: 1.984 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.0003732/0.6482, allocations: 133.8 kB / 0.5932 GB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009699/0.6579, allocations: 2.566 MB / 0.5957 GB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.658, allocations: 0 / 0.5957 GB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006868/0.6649, allocations: 1.699 MB / 0.5973 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.666, allocations: 88.45 kB / 0.5974 GB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/0.6707, allocations: 2.204 MB / 0.5996 GB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/0.6716, allocations: 1.029 MB / 0.6006 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000451/0.672, allocations: 74.31 kB / 0.6007 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.6723, allocations: 59.42 kB / 0.6007 GB, free: 10.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6723, allocations: 0 / 0.6007 GB, free: 10.05 MB / 394.7 MB Notification: Performance of Templates: time 0.04542/0.7178, allocations: 19.66 MB / 0.6199 GB, free: 6.398 MB / 410.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe 2>&1)