Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001292/0.001292, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.295/1.295, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009574/0.0009574, allocations: 80.89 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4532/0.4532, allocations: 78.06 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.432e-05, allocations: 4 kB / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 69.36 MB / 0.5413 GB, free: 6.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.5407, allocations: 96.08 MB / 0.6351 GB, free: 3.477 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.5409, allocations: 85.64 kB / 0.6352 GB, free: 3.395 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05979/0.6007, allocations: 22.63 MB / 0.6573 GB, free: 12.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6008, allocations: 0 / 0.6573 GB, free: 12.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.034e-05/0.6008, allocations: 17.31 kB / 0.6573 GB, free: 12.8 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.004132/0.6049, allocations: 1.585 MB / 0.6589 GB, free: 11.17 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.605, allocations: 8.031 kB / 0.6589 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/0.6082, allocations: 0.5371 MB / 0.6594 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.6095, allocations: 0.6641 MB / 0.66 GB, free: 9.914 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.6098, allocations: 232.2 kB / 0.6603 GB, free: 9.652 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6099, allocations: 36 kB / 0.6603 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001292/0.6112, allocations: 0.7484 MB / 0.661 GB, free: 8.867 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.6124, allocations: 0.6756 MB / 0.6617 GB, free: 8.188 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.6124, allocations: 4 kB / 0.6617 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.6125, allocations: 4 kB / 0.6617 GB, free: 8.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.6125, allocations: 16 kB / 0.6617 GB, free: 8.164 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.6179, allocations: 3.075 MB / 0.6647 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.6192, allocations: 1.115 MB / 0.6658 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.6199, allocations: 0.5076 MB / 0.6663 GB, free: 3.203 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.62, allocations: 12.77 kB / 0.6663 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.6201, allocations: 43.34 kB / 0.6663 GB, free: 3.141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 2.365e-06/0.6201, allocations: 0 / 0.6663 GB, free: 3.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.01203/0.6321, allocations: 3.918 MB / 0.6702 GB, free: 15.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.6322, allocations: 64.19 kB / 0.6702 GB, free: 15.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.6331, allocations: 0.5986 MB / 0.6708 GB, free: 14.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.6333, allocations: 25.7 kB / 0.6708 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.6336, allocations: 436.3 kB / 0.6713 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.6339, allocations: 275.8 kB / 0.6715 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.634, allocations: 0 / 0.6715 GB, free: 13.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6341, allocations: 338.5 kB / 0.6718 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/0.6348, allocations: 389.6 kB / 0.6722 GB, free: 13.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/0.6354, allocations: 483.6 kB / 0.6727 GB, free: 12.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.6361, allocations: 421.2 kB / 0.6731 GB, free: 12.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6361, allocations: 3.984 kB / 0.6731 GB, free: 12.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01193/0.6481, allocations: 3.981 MB / 0.677 GB, free: 8.164 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6481, allocations: 8 kB / 0.677 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6481, allocations: 0 / 0.677 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/0.6535, allocations: 1.7 MB / 0.6786 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.6542, allocations: 111.8 kB / 0.6787 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.6676, allocations: 6.884 MB / 0.6855 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.6689, allocations: 159.3 kB / 0.6856 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.6689, allocations: 31.98 kB / 0.6857 GB, free: 15.15 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.0002738/0.6692, allocations: 120.6 kB / 0.6858 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.6694, allocations: 98.78 kB / 0.6859 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.6814, allocations: 4.008 MB / 0.6898 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.6815, allocations: 8 kB / 0.6898 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.6815, allocations: 0 / 0.6898 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/0.6815, allocations: 3.984 kB / 0.6898 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.6954, allocations: 5.399 MB / 0.6951 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.6954, allocations: 4 kB / 0.6951 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.6959, allocations: 99.83 kB / 0.6952 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005091/0.701, allocations: 1.66 MB / 0.6968 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.7012, allocations: 7.922 kB / 0.6968 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/0.7135, allocations: 6.207 MB / 0.7028 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7135, allocations: 0 / 0.7028 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.7265, allocations: 4.686 MB / 0.7074 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/0.7269, allocations: 187.6 kB / 0.7076 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7271, allocations: 0 / 0.7076 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.728, allocations: 116 kB / 0.7077 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005761/0.7286, allocations: 208.2 kB / 0.7079 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.7287, allocations: 16 kB / 0.7079 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006316/0.7293, allocations: 475.1 kB / 0.7084 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7293, allocations: 0 / 0.7084 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001198/0.7305, allocations: 352.7 kB / 0.7087 GB, free: 7.223 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.0003083/0.7308, allocations: 130.9 kB / 0.7088 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005092/0.7359, allocations: 1.849 MB / 0.7106 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.736, allocations: 0 / 0.7106 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004027/0.74, allocations: 1.38 MB / 0.712 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.7407, allocations: 56.48 kB / 0.712 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.7428, allocations: 1.139 MB / 0.7132 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.7434, allocations: 1.044 MB / 0.7142 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002458/0.7436, allocations: 61.89 kB / 0.7142 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.7438, allocations: 47.42 kB / 0.7143 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.7438, allocations: 0 / 0.7143 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of Templates: time 0.02836/0.7722, allocations: 17.01 MB / 0.7309 GB, free: 0.5742 MB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)