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.001547/0.001547, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001301/0.001301, allocations: 195.1 kB / 16.25 MB, free: 6.629 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.926/0.926, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 67.52 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 81.03 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002813/0.1659, allocations: 1.535 MB / 0.586 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003135/0.1663, allocations: 120.5 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1663, allocations: 0 / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.092e-05/0.1663, allocations: 3.938 kB / 0.5861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.1664, allocations: 11.92 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1666, allocations: 19.98 kB / 0.5861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.919e-05/0.1667, allocations: 43.91 kB / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.1668, allocations: 11.98 kB / 0.5862 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.1669, allocations: 23.92 kB / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.1669, allocations: 19.92 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.167, allocations: 4 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.376e-05/0.167, allocations: 19.98 kB / 0.5863 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.1671, allocations: 15.92 kB / 0.5863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.1671, allocations: 23.8 kB / 0.5863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1672, allocations: 55.8 kB / 0.5864 GB, free: 2.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1673, allocations: 0 / 0.5864 GB, free: 2.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1673, allocations: 0 / 0.5864 GB, free: 2.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1673, allocations: 0 / 0.5864 GB, free: 2.383 MB / 494.1 MB 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.0005677/0.1678, allocations: 391.4 kB / 0.5867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1679, allocations: 12.03 kB / 0.5867 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.1679, allocations: 0.9375 kB / 0.5867 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1681, allocations: 168.3 kB / 0.5869 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1681, allocations: 4.375 kB / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1681, allocations: 384 / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.1684, allocations: 74.2 kB / 0.587 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1684, allocations: 4.188 kB / 0.587 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1684, allocations: 11.94 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1684, allocations: 0 / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.1687, allocations: 75.86 kB / 0.5871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1691, allocations: 288.8 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1693, allocations: 70.47 kB / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.1695, allocations: 40.92 kB / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.1697, allocations: 109.1 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1698, allocations: 34.56 kB / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1698, allocations: 3.938 kB / 0.5876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005263/0.1703, allocations: 145.5 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1703, allocations: 63.33 kB / 0.5878 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1705, allocations: 121.8 kB / 0.5879 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1705, allocations: 25.7 kB / 0.5879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.1706, allocations: 100.1 kB / 0.588 GB, free: 464 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.1706, allocations: 7.891 kB / 0.588 GB, free: 456 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.1706, allocations: 17.72 kB / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1708, allocations: 314.8 kB / 0.5883 GB, free: 108 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1709, allocations: 39.97 kB / 0.5884 GB, free: 68 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1711, allocations: 35.95 kB / 0.5884 GB, free: 32 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.1714, allocations: 84.8 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1714, allocations: 7.875 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003185/0.1717, allocations: 113.5 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1717, allocations: 4 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1717, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1717, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1719, allocations: 19.98 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1719, allocations: 0 / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.172, allocations: 19.98 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.172, allocations: 0 / 0.5887 GB, free: 15.77 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 0.0001033/0.1721, allocations: 117.8 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1721, allocations: 7.906 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.1725, allocations: 121.5 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1725, allocations: 4 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1725, allocations: 0 / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1725, allocations: 3.984 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.1727, allocations: 177.6 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1727, allocations: 0 / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.1728, allocations: 15.97 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1729, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1729, allocations: 4 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1729, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1729, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.1732, allocations: 211.7 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.1733, allocations: 89.05 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1733, allocations: 0 / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1734, allocations: 11.98 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1735, allocations: 11.98 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1735, allocations: 0 / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.251e-05/0.1736, allocations: 95.27 kB / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1736, allocations: 4 kB / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002175/0.1738, allocations: 12 kB / 0.5895 GB, free: 14.8 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.0001578/0.174, allocations: 95.25 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1743, allocations: 91.78 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1743, allocations: 0 / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1745, allocations: 43.95 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.1747, allocations: 11.88 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.175, allocations: 173.3 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1754, allocations: 0.6846 MB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.1754, allocations: 4 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.1754, allocations: 11.44 kB / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1754, allocations: 0 / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.002966/0.1784, allocations: 0.688 MB / 0.5913 GB, free: 12.95 MB / 0.4981 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)