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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001416/0.001416, allocations: 195 kB / 16.14 MB, free: 6.656 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9472/0.9472, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.53 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1691, allocations: 80.93 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002986/0.1722, allocations: 1.527 MB / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.1726, allocations: 124.5 kB / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.1726, allocations: 0 / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.486e-05/0.1727, allocations: 3.938 kB / 0.5853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.1728, allocations: 7.938 kB / 0.5853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.173, allocations: 23.95 kB / 0.5854 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1731, allocations: 39.86 kB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1732, allocations: 19.92 kB / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.1733, allocations: 11.92 kB / 0.5854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.1733, allocations: 31.91 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1734, allocations: 0 / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.1734, allocations: 19.98 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1735, allocations: 11.92 kB / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.1735, allocations: 19.88 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.1737, allocations: 55.8 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1737, allocations: 3.984 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1737, allocations: 0 / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1737, allocations: 0 / 0.5856 GB, free: 3.09 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.0005896/0.1743, allocations: 379.5 kB / 0.5859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1744, allocations: 8.031 kB / 0.5859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.1744, allocations: 8.844 kB / 0.5859 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1746, allocations: 175.8 kB / 0.5861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1746, allocations: 384 / 0.5861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1746, allocations: 8.375 kB / 0.5861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1749, allocations: 74.16 kB / 0.5862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1749, allocations: 4.188 kB / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1749, allocations: 3.938 kB / 0.5862 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1749, allocations: 0 / 0.5862 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.1752, allocations: 75.91 kB / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.1757, allocations: 280.9 kB / 0.5865 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1759, allocations: 74.47 kB / 0.5866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1761, allocations: 44.84 kB / 0.5866 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.1763, allocations: 113.1 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1764, allocations: 30.56 kB / 0.5868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.1764, allocations: 0 / 0.5868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005762/0.177, allocations: 141.6 kB / 0.5869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.177, allocations: 59.41 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1771, allocations: 129.7 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1772, allocations: 25.7 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.1772, allocations: 96.06 kB / 0.5872 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1772, allocations: 11.89 kB / 0.5872 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.1773, allocations: 13.72 kB / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1774, allocations: 314.8 kB / 0.5875 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1776, allocations: 47.89 kB / 0.5876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1777, allocations: 39.95 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.178, allocations: 72.78 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.178, allocations: 3.938 kB / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003212/0.1783, allocations: 109.5 kB / 0.5878 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1784, allocations: 15.88 kB / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1784, allocations: 0 / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1784, allocations: 0 / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1785, allocations: 23.97 kB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1785, allocations: 0 / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1787, allocations: 19.92 kB / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1787, allocations: 4 kB / 0.5879 GB, free: 500 kB / 494.1 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 (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.000115/0.1788, allocations: 117.8 kB / 0.588 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1789, allocations: 4.234 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.1793, allocations: 121.5 kB / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1793, allocations: 4 kB / 0.5881 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1793, allocations: 4 kB / 0.5881 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1793, allocations: 0 / 0.5881 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1795, allocations: 177.8 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1795, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1796, allocations: 15.98 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1796, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1796, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1796, allocations: 3.984 kB / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1797, allocations: 3.938 kB / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.18, allocations: 207.4 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.1801, allocations: 85 kB / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1801, allocations: 0 / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1802, allocations: 15.98 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1803, allocations: 8 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1803, allocations: 3.984 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.1803, allocations: 95.27 kB / 0.5887 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1803, allocations: 0 / 0.5887 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002358/0.1806, allocations: 16 kB / 0.5887 GB, free: 15.51 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.0001535/0.1807, allocations: 95.25 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.1811, allocations: 87.84 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1811, allocations: 0 / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1813, allocations: 39.97 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.1815, allocations: 7.938 kB / 0.5889 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.1819, allocations: 175 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1822, allocations: 0.6848 MB / 0.5898 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.1822, allocations: 7.984 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.1822, allocations: 7.438 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1822, allocations: 3.938 kB / 0.5898 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.002691/0.1849, allocations: 0.6668 MB / 0.5904 GB, free: 13.69 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)