Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009733/0.0009732, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 98.95 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4685/0.4685, allocations: 78.12 MB / 409.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.292e-05, allocations: 3.938 kB / 484.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 69.38 MB / 0.5413 GB, free: 6.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.4892, allocations: 96.07 MB / 0.6352 GB, free: 3.621 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4895, allocations: 77 kB / 0.6352 GB, free: 3.547 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05821/0.5477, allocations: 22.63 MB / 0.6573 GB, free: 12.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5477, allocations: 7.938 kB / 0.6573 GB, free: 12.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.565e-05/0.5478, allocations: 16 kB / 0.6574 GB, free: 12.94 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004131/0.5519, allocations: 1.573 MB / 0.6589 GB, free: 11.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.552, allocations: 12.03 kB / 0.6589 GB, free: 11.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.5551, allocations: 0.5345 MB / 0.6594 GB, free: 10.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5564, allocations: 0.6563 MB / 0.6601 GB, free: 10.08 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.5566, allocations: 239.4 kB / 0.6603 GB, free: 9.809 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5568, allocations: 36 kB / 0.6603 GB, free: 9.773 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/0.558, allocations: 0.7523 MB / 0.6611 GB, free: 9.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.5592, allocations: 0.6756 MB / 0.6617 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5592, allocations: 0 / 0.6617 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.5593, allocations: 0 / 0.6617 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.5593, allocations: 20 kB / 0.6617 GB, free: 8.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.5645, allocations: 3.079 MB / 0.6647 GB, free: 5.098 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.5658, allocations: 1.117 MB / 0.6658 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.5665, allocations: 0.5115 MB / 0.6663 GB, free: 3.348 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.5666, allocations: 8.781 kB / 0.6663 GB, free: 3.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.5666, allocations: 45.59 kB / 0.6664 GB, free: 3.289 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 2.354e-06/0.5666, allocations: 0.9375 kB / 0.6664 GB, free: 3.289 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.012/0.5786, allocations: 3.914 MB / 0.6702 GB, free: 15.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.5787, allocations: 60.19 kB / 0.6703 GB, free: 15.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008482/0.5796, allocations: 0.6064 MB / 0.6709 GB, free: 14.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.5797, allocations: 25.7 kB / 0.6709 GB, free: 14.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.58, allocations: 436.3 kB / 0.6713 GB, free: 14.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.5803, allocations: 271.8 kB / 0.6716 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.5804, allocations: 0 / 0.6716 GB, free: 13.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5805, allocations: 337.9 kB / 0.6719 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.5811, allocations: 385.6 kB / 0.6723 GB, free: 13.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.5818, allocations: 488.4 kB / 0.6727 GB, free: 12.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.5824, allocations: 425.2 kB / 0.6731 GB, free: 12.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5824, allocations: 0 / 0.6731 GB, free: 12.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01213/0.5946, allocations: 3.992 MB / 0.677 GB, free: 8.305 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.5946, allocations: 4 kB / 0.677 GB, free: 8.301 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5946, allocations: 4 kB / 0.677 GB, free: 8.297 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005498/0.6001, allocations: 1.688 MB / 0.6787 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.6008, allocations: 115.8 kB / 0.6788 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.6144, allocations: 6.883 MB / 0.6855 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.6157, allocations: 159.3 kB / 0.6857 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.6158, allocations: 24 kB / 0.6857 GB, free: 15.3 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002953/0.6161, allocations: 121.7 kB / 0.6858 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.6163, allocations: 101.2 kB / 0.6859 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.6281, allocations: 4.012 MB / 0.6898 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.6281, allocations: 8 kB / 0.6898 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6281, allocations: 0 / 0.6898 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.6282, allocations: 3.984 kB / 0.6898 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.6416, allocations: 5.399 MB / 0.6951 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.6417, allocations: 4 kB / 0.6951 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.6422, allocations: 101.3 kB / 0.6952 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/0.6475, allocations: 1.664 MB / 0.6968 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/0.6476, allocations: 0 / 0.6968 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.6597, allocations: 6.203 MB / 0.7029 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6598, allocations: 0 / 0.7029 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/0.6727, allocations: 4.682 MB / 0.7075 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.673, allocations: 195.5 kB / 0.7076 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6732, allocations: 0 / 0.7076 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009643/0.6741, allocations: 116 kB / 0.7078 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005014/0.6747, allocations: 208.2 kB / 0.708 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.6747, allocations: 16 kB / 0.708 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005576/0.6753, allocations: 479.1 kB / 0.7084 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6753, allocations: 0 / 0.7084 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001024/0.6763, allocations: 355.6 kB / 0.7088 GB, free: 7.367 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002661/0.6766, allocations: 123 kB / 0.7089 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004847/0.6815, allocations: 1.849 MB / 0.7107 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6815, allocations: 0.75 kB / 0.7107 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003969/0.6854, allocations: 1.385 MB / 0.712 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.6859, allocations: 55.25 kB / 0.7121 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.6879, allocations: 1.14 MB / 0.7132 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.6885, allocations: 1.044 MB / 0.7142 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002389/0.6887, allocations: 53.06 kB / 0.7143 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.6889, allocations: 48.66 kB / 0.7143 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.6889, allocations: 0 / 0.7143 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of Templates: time 0.02516/0.714, allocations: 17.01 MB / 0.7309 GB, free: 0.7344 MB / 0.5261 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)