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.00152/0.00152, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7626/0.7626, allocations: 130.7 MB / 138.7 MB, free: 3.629 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0008751/0.0008751, allocations: 93.16 kB / 473.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.735e-05, allocations: 4 kB / 0.5485 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4339, allocations: 81.57 MB / 0.6282 GB, free: 42.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.5743, allocations: 110.3 MB / 0.7359 GB, free: 500 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.5746, allocations: 71.95 kB / 0.736 GB, free: 428 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002235/0.5769, allocations: 0.7824 MB / 0.7367 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5769, allocations: 0 / 0.7367 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.5769, allocations: 4 kB / 0.7367 GB, free: 15.63 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.0003645/0.5773, allocations: 330.5 kB / 0.737 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.5774, allocations: 8.031 kB / 0.7371 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.5776, allocations: 23.89 kB / 0.7371 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.5777, allocations: 174.9 kB / 0.7372 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.5778, allocations: 4 kB / 0.7372 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.5778, allocations: 0 / 0.7372 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.569e-05/0.5779, allocations: 16 kB / 0.7373 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.453e-05/0.578, allocations: 41.69 kB / 0.7373 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.578, allocations: 0.9375 kB / 0.7373 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.578, allocations: 0 / 0.7373 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.578, allocations: 0 / 0.7373 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.5784, allocations: 256.8 kB / 0.7375 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.385e-05/0.5785, allocations: 34.52 kB / 0.7376 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.5786, allocations: 12.92 kB / 0.7376 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.5786, allocations: 0 / 0.7376 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.5786, allocations: 38.55 kB / 0.7376 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5786, allocations: 0 / 0.7376 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.5788, allocations: 49.61 kB / 0.7377 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.5788, allocations: 55.34 kB / 0.7377 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.5789, allocations: 100.6 kB / 0.7378 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5789, allocations: 25.7 kB / 0.7378 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.579, allocations: 84.12 kB / 0.7379 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.579, allocations: 11.84 kB / 0.7379 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.579, allocations: 0 / 0.7379 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5791, allocations: 322.8 kB / 0.7382 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.5791, allocations: 8 kB / 0.7383 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.5792, allocations: 11.94 kB / 0.7383 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.997e-05/0.5792, allocations: 4 kB / 0.7383 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5792, allocations: 0 / 0.7383 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.87e-05/0.5793, allocations: 49.69 kB / 0.7383 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5793, allocations: 5.719 kB / 0.7383 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5793, allocations: 0 / 0.7383 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5793, allocations: 4.094 kB / 0.7383 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.5795, allocations: 15.98 kB / 0.7383 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5795, allocations: 0 / 0.7383 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.5795, allocations: 11.98 kB / 0.7384 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.5796, allocations: 0 / 0.7384 GB, free: 13.78 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 () * 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.515e-05/0.5796, allocations: 110.6 kB / 0.7385 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.5797, allocations: 4 kB / 0.7385 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.5797, allocations: 7.906 kB / 0.7385 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.5797, allocations: 7.984 kB / 0.7385 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.5797, allocations: 0 / 0.7385 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5797, allocations: 0 / 0.7385 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.5799, allocations: 146.2 kB / 0.7386 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5799, allocations: 0 / 0.7386 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.58, allocations: 19.92 kB / 0.7386 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.58, allocations: 0 / 0.7386 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.58, allocations: 4 kB / 0.7386 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.58, allocations: 0 / 0.7386 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.58, allocations: 3.984 kB / 0.7386 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.5802, allocations: 143.5 kB / 0.7388 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.5802, allocations: 81.06 kB / 0.7389 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.5802, allocations: 0 / 0.7389 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.5803, allocations: 16.02 kB / 0.7389 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.5804, allocations: 7.984 kB / 0.7389 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.5804, allocations: 0 / 0.7389 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.5804, allocations: 84.03 kB / 0.739 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5804, allocations: 0 / 0.739 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002181/0.5807, allocations: 4 kB / 0.739 GB, free: 13.07 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 () * 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.0001171/0.5808, allocations: 95.25 kB / 0.7391 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.932e-05/0.5809, allocations: 27.88 kB / 0.7391 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5809, allocations: 0 / 0.7391 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.5809, allocations: 8 kB / 0.7391 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.5811, allocations: 4 kB / 0.7391 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.5814, allocations: 67.98 kB / 0.7392 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.5816, allocations: 0.6768 MB / 0.7398 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.5817, allocations: 8.125 kB / 0.7398 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.5817, allocations: 15.36 kB / 0.7398 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.5817, allocations: 0 / 0.7398 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.001993/0.5837, allocations: 461.8 kB / 0.7403 GB, free: 11.67 MB / 0.5261 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)