Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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) Running command: translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7325/0.7325, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.3 MB / 396.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 104.7 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.998e-05, allocations: 9 kB / 0.5551 GB, free: 86.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1427, allocations: 81.59 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5247/0.6675, allocations: 111 MB / 0.7431 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.6677, allocations: 73.23 kB / 0.7432 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002215/0.6699, allocations: 0.7777 MB / 0.744 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.67, allocations: 0 / 0.744 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.67, allocations: 0 / 0.744 GB, free: 27.99 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002936/0.6703, allocations: 341.2 kB / 0.7443 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.6703, allocations: 7.688 kB / 0.7443 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.6705, allocations: 24 kB / 0.7443 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.6706, allocations: 172 kB / 0.7445 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.6706, allocations: 0 / 0.7445 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.6706, allocations: 3.062 kB / 0.7445 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.693e-05/0.6707, allocations: 44.55 kB / 0.7445 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.6708, allocations: 0 / 0.7445 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.6708, allocations: 0 / 0.7445 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6708, allocations: 0 / 0.7445 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.6708, allocations: 19.23 kB / 0.7446 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.6712, allocations: 278 kB / 0.7448 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.693e-05/0.6713, allocations: 30.56 kB / 0.7448 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.6713, allocations: 16.11 kB / 0.7449 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.6714, allocations: 3.844 kB / 0.7449 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.6714, allocations: 37.75 kB / 0.7449 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6714, allocations: 0 / 0.7449 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.6715, allocations: 51.28 kB / 0.7449 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6716, allocations: 51.41 kB / 0.745 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.6717, allocations: 97.53 kB / 0.7451 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.6717, allocations: 25.7 kB / 0.7451 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.6718, allocations: 84.08 kB / 0.7452 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.6718, allocations: 16.42 kB / 0.7452 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.6718, allocations: 4 kB / 0.7452 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6719, allocations: 316.1 kB / 0.7455 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.672, allocations: 7.344 kB / 0.7455 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.672, allocations: 11.09 kB / 0.7455 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.672, allocations: 7.188 kB / 0.7455 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.672, allocations: 3.844 kB / 0.7455 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000117/0.6722, allocations: 47.3 kB / 0.7456 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.6722, allocations: 3.906 kB / 0.7456 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.6722, allocations: 4 kB / 0.7456 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6722, allocations: 2.625 kB / 0.7456 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.6723, allocations: 15.92 kB / 0.7456 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6724, allocations: 0 / 0.7456 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.6725, allocations: 18.14 kB / 0.7456 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.6725, allocations: 0 / 0.7456 GB, free: 26.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.6725, allocations: 113.9 kB / 0.7457 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.6726, allocations: 3.844 kB / 0.7457 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.6726, allocations: 6.906 kB / 0.7458 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6726, allocations: 1.266 kB / 0.7458 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6726, allocations: 0 / 0.7458 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.6726, allocations: 0 / 0.7458 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.6728, allocations: 168.5 kB / 0.7459 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6728, allocations: 0 / 0.7459 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.6729, allocations: 22.14 kB / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6729, allocations: 0 / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.6729, allocations: 1.078 kB / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6729, allocations: 0 / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6729, allocations: 0 / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.673, allocations: 148.2 kB / 0.7461 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.6731, allocations: 78.14 kB / 0.7462 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.6731, allocations: 0.9844 kB / 0.7462 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.6732, allocations: 22.39 kB / 0.7462 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.6732, allocations: 5.109 kB / 0.7462 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.6732, allocations: 0 / 0.7462 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.6733, allocations: 88.08 kB / 0.7463 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6733, allocations: 3.938 kB / 0.7463 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001886/0.6735, allocations: 3.781 kB / 0.7463 GB, free: 25.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.039e-05/0.6736, allocations: 105.5 kB / 0.7464 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.831e-05/0.6736, allocations: 18.06 kB / 0.7464 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.6737, allocations: 0 / 0.7464 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.6737, allocations: 11.12 kB / 0.7464 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.6738, allocations: 5.078 kB / 0.7464 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.6741, allocations: 71.31 kB / 0.7465 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.6743, allocations: 0.6853 MB / 0.7471 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.6743, allocations: 0 / 0.7471 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.6743, allocations: 7.438 kB / 0.7471 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of SimCode: time 3.9e-07/0.6743, allocations: 0 / 0.7471 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.001968/0.6763, allocations: 0.5018 MB / 0.7476 GB, free: 24.82 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)