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.00201/0.00201, allocations: 182.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.7403/0.7403, allocations: 133.4 MB / 150.1 MB, free: 11.16 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.556/1.556, allocations: 222.9 MB / 404.7 MB, free: 6.086 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.001057/0.001057, allocations: 99.75 kB / 485.9 MB, free: 7.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1675, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002928/0.1705, allocations: 1.498 MB / 0.6436 GB, free: 3.918 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.1709, allocations: 100.6 kB / 0.6437 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1709, allocations: 0 / 0.6437 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.171, allocations: 0 / 0.6437 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.171, allocations: 0 / 0.6437 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.1712, allocations: 19.92 kB / 0.6437 GB, free: 3.797 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.872e-05/0.1713, allocations: 19.92 kB / 0.6437 GB, free: 3.777 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1714, allocations: 11.94 kB / 0.6437 GB, free: 3.766 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.1715, allocations: 11.98 kB / 0.6438 GB, free: 3.754 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.1715, allocations: 19.91 kB / 0.6438 GB, free: 3.734 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1716, allocations: 0 / 0.6438 GB, free: 3.734 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.1716, allocations: 12 kB / 0.6438 GB, free: 3.723 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.1716, allocations: 7.984 kB / 0.6438 GB, free: 3.715 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.1717, allocations: 7.938 kB / 0.6438 GB, free: 3.707 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.1718, allocations: 27.89 kB / 0.6438 GB, free: 3.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1718, allocations: 0 / 0.6438 GB, free: 3.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1718, allocations: 0 / 0.6438 GB, free: 3.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1718, allocations: 0 / 0.6438 GB, free: 3.68 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.0005094/0.1723, allocations: 347.7 kB / 0.6442 GB, free: 3.289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1724, allocations: 8.031 kB / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1726, allocations: 16.83 kB / 0.6442 GB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1727, allocations: 168.4 kB / 0.6443 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1727, allocations: 384 / 0.6443 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1727, allocations: 384 / 0.6443 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1729, allocations: 58.22 kB / 0.6444 GB, free: 3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.173, allocations: 8.125 kB / 0.6444 GB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.173, allocations: 3.938 kB / 0.6444 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.173, allocations: 4 kB / 0.6444 GB, free: 2.984 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.1732, allocations: 47.89 kB / 0.6445 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1736, allocations: 264.9 kB / 0.6447 GB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1738, allocations: 58.48 kB / 0.6448 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1739, allocations: 28.89 kB / 0.6448 GB, free: 2.531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.174, allocations: 0 / 0.6448 GB, free: 2.531 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.174, allocations: 34.56 kB / 0.6448 GB, free: 2.488 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 3.416e-06/0.174, allocations: 7.922 kB / 0.6448 GB, free: 2.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004306/0.1744, allocations: 109.5 kB / 0.6449 GB, free: 2.367 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1745, allocations: 55.41 kB / 0.645 GB, free: 2.301 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.1746, allocations: 101.8 kB / 0.6451 GB, free: 2.191 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1746, allocations: 25.7 kB / 0.6451 GB, free: 2.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.1747, allocations: 85.5 kB / 0.6452 GB, free: 2.074 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1747, allocations: 11.97 kB / 0.6452 GB, free: 2.062 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1747, allocations: 17.72 kB / 0.6452 GB, free: 2.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1749, allocations: 314.8 kB / 0.6455 GB, free: 1.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.175, allocations: 20.23 kB / 0.6455 GB, free: 1.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1751, allocations: 27.97 kB / 0.6456 GB, free: 1.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.1753, allocations: 60.81 kB / 0.6456 GB, free: 1.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1753, allocations: 0 / 0.6456 GB, free: 1.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002334/0.1755, allocations: 85.58 kB / 0.6457 GB, free: 1.523 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1756, allocations: 4 kB / 0.6457 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1756, allocations: 0 / 0.6457 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1756, allocations: 0 / 0.6457 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1757, allocations: 16.02 kB / 0.6457 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1757, allocations: 0 / 0.6457 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.1758, allocations: 7.984 kB / 0.6457 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1758, allocations: 4 kB / 0.6457 GB, free: 1.492 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/0.1759, allocations: 111.1 kB / 0.6458 GB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1759, allocations: 4 kB / 0.6459 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.1759, allocations: 7.531 kB / 0.6459 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1759, allocations: 0 / 0.6459 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.176, allocations: 4 kB / 0.6459 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.176, allocations: 0 / 0.6459 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.1761, allocations: 177.4 kB / 0.646 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1762, allocations: 0 / 0.646 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.1762, allocations: 11.98 kB / 0.646 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1762, allocations: 0 / 0.646 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1763, allocations: 3.984 kB / 0.646 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1763, allocations: 0 / 0.646 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1763, allocations: 0 / 0.646 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.1769, allocations: 0.7474 MB / 0.6468 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.1769, allocations: 77.11 kB / 0.6469 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.177, allocations: 4 kB / 0.6469 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.1771, allocations: 16.02 kB / 0.6469 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1771, allocations: 0 / 0.6469 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1771, allocations: 3.938 kB / 0.6469 GB, free: 208 kB / 442.7 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.1772, allocations: 83.27 kB / 0.647 GB, free: 124 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1772, allocations: 0 / 0.647 GB, free: 124 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.000309/0.1775, allocations: 12 kB / 0.647 GB, free: 112 kB / 442.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.1776, allocations: 99.19 kB / 0.6471 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1779, allocations: 51.95 kB / 0.6471 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1779, allocations: 0 / 0.6471 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.178, allocations: 31.91 kB / 0.6471 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1783, allocations: 0 / 0.6471 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.1788, allocations: 242.2 kB / 0.6474 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1791, allocations: 0.6731 MB / 0.648 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.1791, allocations: 3.984 kB / 0.648 GB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.1792, allocations: 11.44 kB / 0.648 GB, free: 14.93 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1792, allocations: 0 / 0.648 GB, free: 14.93 MB / 458.7 MB Notification: Performance of Templates: time 0.002421/0.1816, allocations: 0.5154 MB / 0.6485 GB, free: 14.42 MB / 458.7 MB 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)