Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09263/0.09263, allocations: 12.2 MB / 27.47 MB, free: 1.414 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008552/0.0008552, allocations: 101.6 kB / 31 MB, free: 4.766 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 239.8 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 185.4 kB / 291 MB, free: 13.35 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5079/0.5079, allocations: 78.53 MB / 420.5 MB, free: 48.74 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000922/0.0009221, allocations: 39.98 kB / 0.4901 GB, free: 2.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4074, allocations: 69.23 MB / 0.5577 GB, free: 43.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.00584/0.4133, allocations: 5.695 MB / 0.5633 GB, free: 41.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004267/0.4176, allocations: 1.727 MB / 0.5649 GB, free: 40.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.4187, allocations: 14.22 kB / 0.565 GB, free: 40.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.4193, allocations: 156 kB / 0.5651 GB, free: 40.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.4212, allocations: 0.612 MB / 0.5657 GB, free: 39.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.4226, allocations: 0.5157 MB / 0.5662 GB, free: 39.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.4244, allocations: 1.186 MB / 0.5674 GB, free: 38.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.4248, allocations: 239.1 kB / 0.5676 GB, free: 38.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008044/0.4256, allocations: 479.8 kB / 0.5681 GB, free: 38.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.4263, allocations: 0.5891 MB / 0.5686 GB, free: 38.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4264, allocations: 47.09 kB / 0.5687 GB, free: 38.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.4269, allocations: 178.1 kB / 0.5688 GB, free: 38.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.4271, allocations: 194.8 kB / 0.569 GB, free: 38.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.4275, allocations: 0.5279 MB / 0.5695 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.4287, allocations: 1.279 MB / 0.5708 GB, free: 37.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4287, allocations: 1.219 kB / 0.5708 GB, free: 37.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4287, allocations: 0 / 0.5708 GB, free: 37.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.4287, allocations: 3.938 kB / 0.5708 GB, free: 37.2 MB / 430.1 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.006825/0.4356, allocations: 2.197 MB / 0.5729 GB, free: 36.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.4356, allocations: 15.67 kB / 0.573 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/0.4405, allocations: 0.7622 MB / 0.5737 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.4417, allocations: 0.7097 MB / 0.5744 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.4419, allocations: 259.7 kB / 0.5746 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.4421, allocations: 69.62 kB / 0.5747 GB, free: 35.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.444, allocations: 1.025 MB / 0.5757 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.444, allocations: 7.938 kB / 0.5757 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.4441, allocations: 25.09 kB / 0.5757 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.4441, allocations: 16.91 kB / 0.5758 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.4462, allocations: 1.066 MB / 0.5768 GB, free: 34.64 MB / 430.1 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.00501/0.4513, allocations: 3.232 MB / 0.58 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.4532, allocations: 1.381 MB / 0.5813 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.4546, allocations: 0.7787 MB / 0.5821 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.164e-05/0.4547, allocations: 13.25 kB / 0.5821 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4548, allocations: 42.25 kB / 0.5821 GB, free: 31.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 5.661e-06/0.4548, allocations: 0 / 0.5821 GB, free: 31.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02833/0.4831, allocations: 8.418 MB / 0.5903 GB, free: 30.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4832, allocations: 64.84 kB / 0.5904 GB, free: 30.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4844, allocations: 0.8049 MB / 0.5912 GB, free: 29.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.4846, allocations: 36.33 kB / 0.5912 GB, free: 29.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.4849, allocations: 427.2 kB / 0.5916 GB, free: 29.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.4852, allocations: 299.8 kB / 0.5919 GB, free: 29.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.4854, allocations: 93.11 kB / 0.592 GB, free: 29.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.4855, allocations: 344.4 kB / 0.5923 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.4873, allocations: 0.7269 MB / 0.593 GB, free: 28.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.4892, allocations: 0.8475 MB / 0.5939 GB, free: 28.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02016/0.5094, allocations: 4.991 MB / 0.5987 GB, free: 26.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.5095, allocations: 0 / 0.5987 GB, free: 26.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01668/0.5262, allocations: 5.032 MB / 0.6037 GB, free: 25.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.5263, allocations: 7.109 kB / 0.6037 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.5263, allocations: 2.438 kB / 0.6037 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007643/0.5339, allocations: 2.105 MB / 0.6057 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.5349, allocations: 173.2 kB / 0.6059 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.556, allocations: 9.571 MB / 0.6152 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.5577, allocations: 199 kB / 0.6154 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.558, allocations: 35.98 kB / 0.6155 GB, free: 16.68 MB / 430.1 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.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (95): * Single equations (assignments): 94 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005455/0.5585, allocations: 235.1 kB / 0.6157 GB, free: 16.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.5588, allocations: 98.78 kB / 0.6158 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.5717, allocations: 4.747 MB / 0.6204 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.5718, allocations: 11.98 kB / 0.6204 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5718, allocations: 0 / 0.6204 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.5718, allocations: 3.984 kB / 0.6204 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.5869, allocations: 6.26 MB / 0.6265 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.587, allocations: 3.938 kB / 0.6265 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.5876, allocations: 95.88 kB / 0.6266 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/0.5935, allocations: 2.058 MB / 0.6286 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002013/0.5937, allocations: 16 kB / 0.6287 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/0.6127, allocations: 8.221 MB / 0.6367 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.6128, allocations: 0 / 0.6367 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/0.6299, allocations: 5.7 MB / 0.6423 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.6305, allocations: 191.6 kB / 0.6424 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.6309, allocations: 16 kB / 0.6425 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.6322, allocations: 131.9 kB / 0.6426 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006892/0.6329, allocations: 196.6 kB / 0.6428 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.633, allocations: 19.94 kB / 0.6428 GB, free: 4.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008629/0.6339, allocations: 0.5382 MB / 0.6433 GB, free: 3.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6339, allocations: 0 / 0.6433 GB, free: 3.781 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001686/0.6356, allocations: 411.6 kB / 0.6437 GB, free: 3.379 MB / 446.1 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.0003223/0.6359, allocations: 123.2 kB / 0.6438 GB, free: 3.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007436/0.6434, allocations: 2.588 MB / 0.6463 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.6434, allocations: 4 kB / 0.6464 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005174/0.6486, allocations: 1.685 MB / 0.648 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.6499, allocations: 81.08 kB / 0.6481 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.6542, allocations: 2.145 MB / 0.6502 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.655, allocations: 1.041 MB / 0.6512 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003709/0.6554, allocations: 74.19 kB / 0.6513 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.6556, allocations: 55.42 kB / 0.6513 GB, free: 11.51 MB / 462.1 MB Notification: Performance of SimCode: time 1.923e-06/0.6556, allocations: 0 / 0.6513 GB, free: 11.51 MB / 462.1 MB Notification: Performance of Templates: time 0.03593/0.6916, allocations: 19.66 MB / 0.6705 GB, free: 7.863 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) Environment - environmentSimulation: