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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 110.5 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.839/0.839, allocations: 135.2 MB / 426.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.16 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1665, allocations: 80.94 MB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002707/0.1692, allocations: 1.439 MB / 0.6668 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.1695, allocations: 92.66 kB / 0.6669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.1695, allocations: 3.938 kB / 0.6669 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.1695, allocations: 4 kB / 0.6669 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.1696, allocations: 3.938 kB / 0.6669 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1698, allocations: 11.98 kB / 0.6669 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.1699, allocations: 27.92 kB / 0.6669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.17, allocations: 0 / 0.6669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.17, allocations: 15.92 kB / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.17, allocations: 15.97 kB / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1701, allocations: 4 kB / 0.6669 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.1701, allocations: 15.98 kB / 0.667 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.1701, allocations: 3.938 kB / 0.667 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.1702, allocations: 19.88 kB / 0.667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1703, allocations: 35.83 kB / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1703, allocations: 0 / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1703, allocations: 0 / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1703, allocations: 0 / 0.667 GB, free: 4.062 MB / 0.4981 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.0004902/0.1708, allocations: 347.3 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1708, allocations: 9.109 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.171, allocations: 12.92 kB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1711, allocations: 172.3 kB / 0.6675 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1712, allocations: 384 / 0.6675 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1712, allocations: 4.359 kB / 0.6675 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.1714, allocations: 58.23 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1714, allocations: 192 / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1714, allocations: 3.938 kB / 0.6676 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1714, allocations: 0 / 0.6676 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.1716, allocations: 55.94 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.172, allocations: 260.9 kB / 0.6679 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1722, allocations: 50.48 kB / 0.6679 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.1724, allocations: 32.89 kB / 0.668 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1724, allocations: 4 kB / 0.668 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1724, allocations: 30.56 kB / 0.668 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1724, allocations: 0 / 0.668 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004282/0.1728, allocations: 105.6 kB / 0.6681 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1729, allocations: 55.53 kB / 0.6682 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.173, allocations: 105.8 kB / 0.6683 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.173, allocations: 25.7 kB / 0.6683 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.173, allocations: 88.09 kB / 0.6684 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1731, allocations: 7.953 kB / 0.6684 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1731, allocations: 13.7 kB / 0.6684 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1732, allocations: 314.8 kB / 0.6687 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1734, allocations: 31.97 kB / 0.6687 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.1735, allocations: 23.92 kB / 0.6688 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1737, allocations: 48.81 kB / 0.6688 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1737, allocations: 0 / 0.6688 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002637/0.1739, allocations: 89.58 kB / 0.6689 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1739, allocations: 8 kB / 0.6689 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1739, allocations: 0 / 0.6689 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1739, allocations: 0 / 0.6689 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1741, allocations: 11.98 kB / 0.6689 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1741, allocations: 0 / 0.6689 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.1741, allocations: 11.92 kB / 0.6689 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1741, allocations: 0 / 0.6689 GB, free: 1.895 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.793e-05/0.1742, allocations: 125.8 kB / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1742, allocations: 0 / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.1743, allocations: 3.531 kB / 0.669 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1743, allocations: 0 / 0.669 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1743, allocations: 4.25 kB / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1743, allocations: 0 / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1745, allocations: 173.6 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1745, allocations: 0 / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.1745, allocations: 11.98 kB / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1745, allocations: 4 kB / 0.6692 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1746, allocations: 0 / 0.6692 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1746, allocations: 4 kB / 0.6692 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1746, allocations: 0 / 0.6692 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.1749, allocations: 183.3 kB / 0.6694 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.1749, allocations: 81.12 kB / 0.6695 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1749, allocations: 4 kB / 0.6695 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.175, allocations: 11.98 kB / 0.6695 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1751, allocations: 4 kB / 0.6695 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1751, allocations: 0 / 0.6695 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.1751, allocations: 79.28 kB / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1751, allocations: 0 / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002195/0.1753, allocations: 8 kB / 0.6696 GB, free: 1.117 MB / 0.4981 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 (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.0001253/0.1755, allocations: 103.2 kB / 0.6697 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.1758, allocations: 51.89 kB / 0.6697 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1758, allocations: 0 / 0.6697 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1759, allocations: 31.91 kB / 0.6698 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1762, allocations: 9.812 kB / 0.6698 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.1765, allocations: 155.2 kB / 0.6699 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1769, allocations: 0.6768 MB / 0.6706 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.1769, allocations: 7.438 kB / 0.6706 GB, free: 20 kB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1769, allocations: 0 / 0.6706 GB, free: 20 kB / 0.4981 GB Notification: Performance of Templates: time 0.002133/0.1791, allocations: 0.6392 MB / 0.6712 GB, free: 15.38 MB / 0.5137 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)