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.001611/0.001611, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.714/0.714, allocations: 133.3 MB / 150.1 MB, free: 11.18 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.494/1.494, allocations: 222.9 MB / 404.7 MB, free: 6.035 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.001019/0.001019, allocations: 95.64 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 56.11 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1768, allocations: 80.43 MB / 0.6422 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001856/0.1787, allocations: 0.6522 MB / 0.6428 GB, free: 4.762 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.179, allocations: 87.8 kB / 0.6429 GB, free: 4.676 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.115e-05/0.179, allocations: 0 / 0.6429 GB, free: 4.676 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1791, allocations: 4 kB / 0.6429 GB, free: 4.672 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.1791, allocations: 4 kB / 0.6429 GB, free: 4.668 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.1793, allocations: 15.92 kB / 0.6429 GB, free: 4.652 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.1794, allocations: 7.984 kB / 0.6429 GB, free: 4.645 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.1794, allocations: 3.984 kB / 0.6429 GB, free: 4.641 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.1794, allocations: 7.938 kB / 0.6429 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.1795, allocations: 0 / 0.6429 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1795, allocations: 0 / 0.6429 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.1796, allocations: 15.98 kB / 0.6429 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.1796, allocations: 0 / 0.6429 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.1797, allocations: 11.94 kB / 0.6429 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.786e-05/0.1797, allocations: 19.91 kB / 0.643 GB, free: 4.586 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1798, allocations: 0 / 0.643 GB, free: 4.586 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1798, allocations: 0 / 0.643 GB, free: 4.586 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1798, allocations: 0 / 0.643 GB, free: 4.586 MB / 442.7 MB 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.000363/0.1801, allocations: 323.6 kB / 0.6433 GB, free: 4.219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1802, allocations: 8.031 kB / 0.6433 GB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1803, allocations: 12.83 kB / 0.6433 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.1804, allocations: 164.4 kB / 0.6434 GB, free: 4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1805, allocations: 8.359 kB / 0.6435 GB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.1805, allocations: 4.375 kB / 0.6435 GB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1806, allocations: 42.19 kB / 0.6435 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1806, allocations: 192 / 0.6435 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1806, allocations: 3.938 kB / 0.6435 GB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1807, allocations: 0 / 0.6435 GB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.1807, allocations: 11.98 kB / 0.6435 GB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.1809, allocations: 149.7 kB / 0.6437 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1811, allocations: 46.66 kB / 0.6437 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.1811, allocations: 16.84 kB / 0.6437 GB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1811, allocations: 3.938 kB / 0.6437 GB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1812, allocations: 30.56 kB / 0.6437 GB, free: 3.613 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1812, allocations: 0 / 0.6437 GB, free: 3.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002038/0.1814, allocations: 61.61 kB / 0.6438 GB, free: 3.547 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.1814, allocations: 51.41 kB / 0.6439 GB, free: 3.484 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.818e-05/0.1815, allocations: 93.86 kB / 0.6439 GB, free: 3.383 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1815, allocations: 25.7 kB / 0.644 GB, free: 3.352 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.1815, allocations: 80.14 kB / 0.644 GB, free: 3.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1815, allocations: 12.12 kB / 0.6441 GB, free: 3.258 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1816, allocations: 17.72 kB / 0.6441 GB, free: 3.234 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.1817, allocations: 310.8 kB / 0.6444 GB, free: 2.922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.1817, allocations: 11.98 kB / 0.6444 GB, free: 2.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.1818, allocations: 7.938 kB / 0.6444 GB, free: 2.902 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.1819, allocations: 25.06 kB / 0.6444 GB, free: 2.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1819, allocations: 0 / 0.6444 GB, free: 2.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/0.182, allocations: 53.66 kB / 0.6445 GB, free: 2.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.182, allocations: 4 kB / 0.6445 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.182, allocations: 4 kB / 0.6445 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.182, allocations: 3.938 kB / 0.6445 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.1824, allocations: 43.94 kB / 0.6445 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1837, allocations: 1.306 MB / 0.6458 GB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.1837, allocations: 8.172 kB / 0.6458 GB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1837, allocations: 8 kB / 0.6458 GB, free: 1.312 MB / 442.7 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.109e-05/0.1838, allocations: 109.8 kB / 0.6459 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.1838, allocations: 7.938 kB / 0.6459 GB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.1839, allocations: 7.5 kB / 0.6459 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1839, allocations: 0 / 0.6459 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.1839, allocations: 0 / 0.6459 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1839, allocations: 0 / 0.6459 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.184, allocations: 153.6 kB / 0.6461 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.184, allocations: 4 kB / 0.6461 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.1844, allocations: 51.86 kB / 0.6461 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1844, allocations: 0 / 0.6461 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1844, allocations: 0 / 0.6461 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.1857, allocations: 1.31 MB / 0.6474 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1857, allocations: 0 / 0.6474 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.1862, allocations: 0.624 MB / 0.648 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.1863, allocations: 77.11 kB / 0.6481 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-06/0.1863, allocations: 8.031 kB / 0.6481 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.1864, allocations: 11.94 kB / 0.6481 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.1864, allocations: 3.984 kB / 0.6481 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1864, allocations: 0 / 0.6481 GB, free: 14.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4e-05/0.1864, allocations: 75.28 kB / 0.6482 GB, free: 14.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1864, allocations: 4 kB / 0.6482 GB, free: 14.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.1868, allocations: 0 / 0.6482 GB, free: 14.6 MB / 458.7 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.1869, allocations: 103.2 kB / 0.6483 GB, free: 14.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004718/0.1874, allocations: 59.91 kB / 0.6483 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.1874, allocations: 0 / 0.6483 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.1877, allocations: 47.84 kB / 0.6484 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.1878, allocations: 6.406 kB / 0.6484 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.1882, allocations: 197.6 kB / 0.6486 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1885, allocations: 0.6731 MB / 0.6492 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.1885, allocations: 8 kB / 0.6493 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.1885, allocations: 7.438 kB / 0.6493 GB, free: 13.44 MB / 458.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1886, allocations: 0 / 0.6493 GB, free: 13.44 MB / 458.7 MB Notification: Performance of Templates: time 0.002067/0.1906, allocations: 407.1 kB / 0.6496 GB, free: 13.04 MB / 458.7 MB 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)