Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00716/0.00716, allocations: 171.3 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7308/0.7308, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.461/1.461, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.0009481/0.0009476, allocations: 101.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 12 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4524, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.6056, allocations: 111.3 MB / 0.7581 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6059, allocations: 75.95 kB / 0.7582 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002186/0.6081, allocations: 0.7797 MB / 0.759 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6081, allocations: 0 / 0.759 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.6081, allocations: 0 / 0.759 GB, free: 3.867 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.0004076/0.6085, allocations: 347.2 kB / 0.7593 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6086, allocations: 8.031 kB / 0.7593 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.6088, allocations: 15.98 kB / 0.7593 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6089, allocations: 182.9 kB / 0.7595 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.6089, allocations: 0 / 0.7595 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.609, allocations: 7.938 kB / 0.7595 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.6091, allocations: 61.67 kB / 0.7596 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6092, allocations: 0 / 0.7596 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6092, allocations: 0 / 0.7596 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.6092, allocations: 4 kB / 0.7596 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.6094, allocations: 63.94 kB / 0.7596 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.6099, allocations: 284.1 kB / 0.7599 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.61, allocations: 62.48 kB / 0.76 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.6101, allocations: 4 kB / 0.76 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.6101, allocations: 38.61 kB / 0.76 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6101, allocations: 0 / 0.76 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004761/0.6106, allocations: 117.6 kB / 0.7601 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.6106, allocations: 59.34 kB / 0.7602 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.6107, allocations: 93 kB / 0.7603 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.6107, allocations: 25.7 kB / 0.7603 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.6108, allocations: 88.27 kB / 0.7604 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.6108, allocations: 11.89 kB / 0.7604 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.6108, allocations: 3.938 kB / 0.7604 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.611, allocations: 318.8 kB / 0.7607 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.6111, allocations: 27.97 kB / 0.7607 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.504e-05/0.6112, allocations: 31.98 kB / 0.7608 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.6113, allocations: 31.97 kB / 0.7608 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6113, allocations: 0 / 0.7608 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002282/0.6115, allocations: 93.72 kB / 0.7609 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.6115, allocations: 5.094 kB / 0.7609 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6116, allocations: 0 / 0.7609 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6116, allocations: 4 kB / 0.7609 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6117, allocations: 19.95 kB / 0.7609 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6117, allocations: 0 / 0.7609 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.6118, allocations: 11.98 kB / 0.7609 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.6118, allocations: 7.984 kB / 0.7609 GB, free: 1.672 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 (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 8.075e-05/0.6119, allocations: 113.8 kB / 0.761 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.6119, allocations: 11.89 kB / 0.761 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.6119, allocations: 7.531 kB / 0.761 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.612, allocations: 0 / 0.761 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.612, allocations: 0 / 0.761 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.612, allocations: 0 / 0.761 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.6121, allocations: 169.6 kB / 0.7612 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6121, allocations: 0 / 0.7612 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.6122, allocations: 15.98 kB / 0.7612 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6122, allocations: 0 / 0.7612 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.6123, allocations: 4 kB / 0.7612 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6123, allocations: 3.938 kB / 0.7612 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.6123, allocations: 256 / 0.7612 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.6126, allocations: 195.4 kB / 0.7614 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.6126, allocations: 77.11 kB / 0.7615 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.6126, allocations: 8 kB / 0.7615 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.6127, allocations: 11.98 kB / 0.7615 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.6128, allocations: 4 kB / 0.7615 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.6128, allocations: 0 / 0.7615 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.6128, allocations: 87.3 kB / 0.7616 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6128, allocations: 0 / 0.7616 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002012/0.6131, allocations: 11.91 kB / 0.7616 GB, free: 0.8672 MB / 0.5261 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 (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 0.0001112/0.6132, allocations: 99.19 kB / 0.7617 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.6134, allocations: 63.95 kB / 0.7618 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6134, allocations: 0 / 0.7618 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.6135, allocations: 35.97 kB / 0.7618 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.6137, allocations: 4.062 kB / 0.7618 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.6141, allocations: 143.4 kB / 0.7619 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.6144, allocations: 0.6809 MB / 0.7626 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.6145, allocations: 7.984 kB / 0.7626 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.6145, allocations: 7.438 kB / 0.7626 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.6145, allocations: 0 / 0.7626 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.002189/0.6167, allocations: 494.4 kB / 0.7631 GB, free: 15.29 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)