Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007556/0.007556, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.001718/0.001718, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9002/0.9002, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 64.08 kB / 0.5856 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1659, allocations: 80.93 MB / 0.6647 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002505/0.1684, allocations: 1.468 MB / 0.6661 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.1687, allocations: 116.5 kB / 0.6662 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.1688, allocations: 0 / 0.6662 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.1688, allocations: 3.938 kB / 0.6662 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.1689, allocations: 15.92 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1691, allocations: 23.91 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.1692, allocations: 39.92 kB / 0.6663 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.1693, allocations: 11.98 kB / 0.6663 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.1693, allocations: 15.92 kB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.1694, allocations: 23.91 kB / 0.6663 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1694, allocations: 7.938 kB / 0.6663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.551e-05/0.1695, allocations: 27.92 kB / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.1695, allocations: 15.98 kB / 0.6664 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.1696, allocations: 19.88 kB / 0.6664 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1697, allocations: 59.78 kB / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1697, allocations: 0 / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1697, allocations: 0 / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1697, allocations: 0 / 0.6665 GB, free: 3.961 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.0004969/0.1702, allocations: 383.1 kB / 0.6668 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1703, allocations: 9.109 kB / 0.6668 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.1703, allocations: 12.84 kB / 0.6668 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1704, allocations: 172.3 kB / 0.667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1704, allocations: 384 / 0.667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1704, allocations: 4.375 kB / 0.667 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1707, allocations: 78.14 kB / 0.6671 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1707, allocations: 192 / 0.6671 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1707, allocations: 7.922 kB / 0.6671 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1708, allocations: 4 kB / 0.6671 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.1711, allocations: 75.92 kB / 0.6672 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1714, allocations: 280.9 kB / 0.6674 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1716, allocations: 66.47 kB / 0.6675 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.1718, allocations: 60.78 kB / 0.6676 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.172, allocations: 105.1 kB / 0.6677 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1721, allocations: 34.56 kB / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1721, allocations: 3.938 kB / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005518/0.1726, allocations: 153.5 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1727, allocations: 51.41 kB / 0.6679 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.1728, allocations: 125.8 kB / 0.668 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1728, allocations: 25.7 kB / 0.668 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.1729, allocations: 100.1 kB / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.1729, allocations: 7.812 kB / 0.6681 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1729, allocations: 13.72 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.173, allocations: 318.8 kB / 0.6685 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1732, allocations: 35.91 kB / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1733, allocations: 39.95 kB / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.1736, allocations: 80.78 kB / 0.6686 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1736, allocations: 3.938 kB / 0.6686 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003266/0.174, allocations: 105.6 kB / 0.6687 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.174, allocations: 4 kB / 0.6687 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.174, allocations: 7.984 kB / 0.6687 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.174, allocations: 0 / 0.6687 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1742, allocations: 15.98 kB / 0.6687 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1742, allocations: 0 / 0.6687 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.1743, allocations: 15.92 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1743, allocations: 0 / 0.6687 GB, free: 1.363 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.383e-05/0.1743, allocations: 121.8 kB / 0.6689 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1744, allocations: 7.906 kB / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.1748, allocations: 113.5 kB / 0.669 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1748, allocations: 4.375 kB / 0.669 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1748, allocations: 0 / 0.669 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1748, allocations: 0 / 0.669 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.175, allocations: 185.6 kB / 0.6692 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.175, allocations: 4 kB / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1751, allocations: 23.95 kB / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1751, allocations: 0 / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.1751, allocations: 0 / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1751, allocations: 4 kB / 0.6692 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1751, allocations: 7.875 kB / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.1755, allocations: 211.3 kB / 0.6694 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.1755, allocations: 81.02 kB / 0.6695 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1756, allocations: 4 kB / 0.6695 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1757, allocations: 7.984 kB / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1757, allocations: 11.98 kB / 0.6695 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1757, allocations: 4 kB / 0.6695 GB, free: 496 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.1758, allocations: 98.64 kB / 0.6696 GB, free: 400 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1758, allocations: 0 / 0.6696 GB, free: 400 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002476/0.1761, allocations: 23.88 kB / 0.6696 GB, free: 376 kB / 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.0001212/0.1762, allocations: 100.6 kB / 0.6697 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.1766, allocations: 83.84 kB / 0.6698 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1766, allocations: 0 / 0.6698 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1767, allocations: 39.97 kB / 0.6698 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.177, allocations: 17.48 kB / 0.6699 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1773, allocations: 149.5 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1776, allocations: 0.6846 MB / 0.6707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.1776, allocations: 3.984 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1777, allocations: 15.44 kB / 0.6707 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1777, allocations: 0 / 0.6707 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.002871/0.1805, allocations: 0.8 MB / 0.6715 GB, free: 14.42 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)