Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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-master/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-master/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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006791/0.006791, allocations: 172 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7297/0.7297, allocations: 135.2 MB / 151.1 MB, free: 13.79 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.504/1.504, allocations: 223.2 MB / 406.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.000885, allocations: 100.2 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005117, allocations: 16 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.415, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5655, allocations: 110.6 MB / 0.7575 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.5658, allocations: 83.94 kB / 0.7576 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00239/0.5682, allocations: 0.9543 MB / 0.7585 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5682, allocations: 4 kB / 0.7585 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5682, allocations: 3.938 kB / 0.7585 GB, free: 4.352 MB / 0.5261 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.0002817/0.5685, allocations: 319.4 kB / 0.7588 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5685, allocations: 8.031 kB / 0.7588 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.5687, allocations: 11.92 kB / 0.7588 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.5688, allocations: 163 kB / 0.759 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.5688, allocations: 8 kB / 0.759 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.5688, allocations: 0 / 0.759 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.5689, allocations: 41.67 kB / 0.759 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.569, allocations: 0 / 0.759 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.569, allocations: 0 / 0.759 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.569, allocations: 4 kB / 0.759 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.5691, allocations: 7.984 kB / 0.759 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.5692, allocations: 161.6 kB / 0.7592 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5694, allocations: 54.53 kB / 0.7593 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.5694, allocations: 0 / 0.7593 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5694, allocations: 30.56 kB / 0.7593 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.5695, allocations: 0 / 0.7593 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002105/0.5697, allocations: 57.73 kB / 0.7593 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.5697, allocations: 59.34 kB / 0.7594 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.165e-05/0.5697, allocations: 85 kB / 0.7595 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.5698, allocations: 29.64 kB / 0.7595 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.5698, allocations: 80.14 kB / 0.7596 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.5698, allocations: 11.91 kB / 0.7596 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.5699, allocations: 0 / 0.7596 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.57, allocations: 310.8 kB / 0.7599 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.57, allocations: 7.984 kB / 0.7599 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.57, allocations: 12 kB / 0.7599 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.5701, allocations: 7.984 kB / 0.7599 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5701, allocations: 0 / 0.7599 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.5702, allocations: 49.64 kB / 0.76 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.5702, allocations: 4 kB / 0.76 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5702, allocations: 0 / 0.76 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5703, allocations: 4 kB / 0.76 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.5706, allocations: 47.86 kB / 0.76 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.5719, allocations: 1.306 MB / 0.7613 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.5719, allocations: 8.016 kB / 0.7613 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.5719, allocations: 0 / 0.7613 GB, free: 1.152 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.572, allocations: 114 kB / 0.7614 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.572, allocations: 7.953 kB / 0.7614 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.5721, allocations: 7.5 kB / 0.7614 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5721, allocations: 4 kB / 0.7614 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.5721, allocations: 0 / 0.7614 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5721, allocations: 4.266 kB / 0.7614 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.5722, allocations: 153.7 kB / 0.7616 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5722, allocations: 0 / 0.7616 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.5726, allocations: 51.92 kB / 0.7616 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5726, allocations: 3.953 kB / 0.7616 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.5726, allocations: 3.984 kB / 0.7616 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.5739, allocations: 1.31 MB / 0.7629 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5739, allocations: 8.047 kB / 0.7629 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.574, allocations: 65.16 kB / 0.763 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.5741, allocations: 85.06 kB / 0.7631 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-06/0.5741, allocations: 0 / 0.7631 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.964e-05/0.5741, allocations: 7.984 kB / 0.7631 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.5742, allocations: 4 kB / 0.7631 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.5742, allocations: 0 / 0.7631 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.5742, allocations: 83.22 kB / 0.7632 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5743, allocations: 3.938 kB / 0.7632 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001861/0.5744, allocations: 4 kB / 0.7632 GB, free: 15.01 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/0.5746, allocations: 95.25 kB / 0.7633 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.5751, allocations: 55.92 kB / 0.7633 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5751, allocations: 0 / 0.7633 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.5753, allocations: 31.95 kB / 0.7633 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.5754, allocations: 3.844 kB / 0.7633 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.5758, allocations: 99.22 kB / 0.7634 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.5761, allocations: 0.677 MB / 0.7641 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.5762, allocations: 7.984 kB / 0.7641 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.5762, allocations: 7.438 kB / 0.7641 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of SimCode: time 7.31e-07/0.5762, allocations: 0 / 0.7641 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.00243/0.5787, allocations: 380.1 kB / 0.7645 GB, free: 13.61 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)