Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.00108/0.00108, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7758/0.7758, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 69.7 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1651, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002766/0.1679, allocations: 1.481 MB / 0.6618 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003385/0.1682, allocations: 112.5 kB / 0.6619 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.1683, allocations: 0 / 0.6619 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.1683, allocations: 3.938 kB / 0.6619 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.1684, allocations: 7.938 kB / 0.6619 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1687, allocations: 23.91 kB / 0.6619 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.1688, allocations: 39.91 kB / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1689, allocations: 16 kB / 0.662 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.1689, allocations: 15.92 kB / 0.662 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.169, allocations: 23.91 kB / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.169, allocations: 4 kB / 0.662 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.1691, allocations: 27.92 kB / 0.662 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.1692, allocations: 11.98 kB / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.1692, allocations: 19.86 kB / 0.6621 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1693, allocations: 59.75 kB / 0.6621 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1694, allocations: 0 / 0.6621 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1694, allocations: 4 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1694, allocations: 0 / 0.6621 GB, free: 8.402 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005309/0.1699, allocations: 383.2 kB / 0.6625 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.17, allocations: 8.031 kB / 0.6625 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.17, allocations: 8.844 kB / 0.6625 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1701, allocations: 172.3 kB / 0.6627 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1701, allocations: 384 / 0.6627 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1702, allocations: 4.359 kB / 0.6627 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.1704, allocations: 82.2 kB / 0.6628 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1705, allocations: 192 / 0.6628 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1705, allocations: 7.938 kB / 0.6628 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1705, allocations: 3.938 kB / 0.6628 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1708, allocations: 75.86 kB / 0.6629 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.1712, allocations: 288.9 kB / 0.6631 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1714, allocations: 70.47 kB / 0.6632 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.1716, allocations: 36.92 kB / 0.6632 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.1719, allocations: 117 kB / 0.6633 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1719, allocations: 34.5 kB / 0.6634 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1719, allocations: 0 / 0.6634 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005877/0.1725, allocations: 153.5 kB / 0.6635 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1726, allocations: 51.41 kB / 0.6636 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1727, allocations: 121.8 kB / 0.6637 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1727, allocations: 29.69 kB / 0.6637 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.1728, allocations: 92.14 kB / 0.6638 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.1728, allocations: 7.812 kB / 0.6638 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1728, allocations: 17.72 kB / 0.6638 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.173, allocations: 322.8 kB / 0.6641 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.1731, allocations: 35.95 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1733, allocations: 31.97 kB / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.1736, allocations: 92.72 kB / 0.6643 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1736, allocations: 3.938 kB / 0.6643 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00034/0.1739, allocations: 105.6 kB / 0.6644 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.174, allocations: 4 kB / 0.6644 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.174, allocations: 4 kB / 0.6644 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.174, allocations: 0 / 0.6644 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1741, allocations: 11.98 kB / 0.6644 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1742, allocations: 4 kB / 0.6644 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.1742, allocations: 23.88 kB / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1743, allocations: 3.984 kB / 0.6644 GB, free: 5.797 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 (3): * Single equations (assignments): 3 * 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 7.87e-05/0.1743, allocations: 113.8 kB / 0.6645 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1744, allocations: 4 kB / 0.6646 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.1748, allocations: 129.8 kB / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1748, allocations: 0 / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1748, allocations: 0 / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1748, allocations: 4.031 kB / 0.6647 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.175, allocations: 181.6 kB / 0.6649 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.175, allocations: 0 / 0.6649 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.1751, allocations: 15.98 kB / 0.6649 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1751, allocations: 0 / 0.6649 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.1752, allocations: 0 / 0.6649 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1752, allocations: 4 kB / 0.6649 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1752, allocations: 0 / 0.6649 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.1756, allocations: 219.2 kB / 0.6651 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.1756, allocations: 84.95 kB / 0.6652 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1756, allocations: 0 / 0.6652 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1758, allocations: 15.98 kB / 0.6652 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1758, allocations: 7.984 kB / 0.6652 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1758, allocations: 4 kB / 0.6652 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.711e-05/0.1759, allocations: 95.27 kB / 0.6653 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1759, allocations: 0 / 0.6653 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002389/0.1761, allocations: 15.94 kB / 0.6653 GB, free: 4.809 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 (3): * Single equations (assignments): 3 * 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.000148/0.1763, allocations: 103.2 kB / 0.6654 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.1767, allocations: 75.92 kB / 0.6655 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1767, allocations: 3.938 kB / 0.6655 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1769, allocations: 43.95 kB / 0.6655 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.1771, allocations: 7.938 kB / 0.6655 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.1775, allocations: 179.2 kB / 0.6657 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1778, allocations: 0.6963 MB / 0.6664 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.1778, allocations: 7.438 kB / 0.6664 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1778, allocations: 4 kB / 0.6664 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of Templates: time 0.002575/0.1804, allocations: 0.8946 MB / 0.6673 GB, free: 2.738 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)