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.0009966/0.001001, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009303/0.009303, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9405/0.9405, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 15.94 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 82.3 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001842/0.1748, allocations: 1.189 MB / 0.5891 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003896/0.1752, allocations: 132.4 kB / 0.5893 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.1752, allocations: 0 / 0.5893 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.1753, allocations: 0 / 0.5893 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.1753, allocations: 15.92 kB / 0.5893 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1755, allocations: 15.98 kB / 0.5893 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.609e-05/0.1756, allocations: 35.86 kB / 0.5893 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.1757, allocations: 15.97 kB / 0.5893 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.1758, allocations: 15.94 kB / 0.5894 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.1758, allocations: 23.89 kB / 0.5894 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1758, allocations: 4 kB / 0.5894 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.098e-05/0.1759, allocations: 15.98 kB / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.176, allocations: 15.92 kB / 0.5894 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.176, allocations: 45.58 kB / 0.5895 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.1761, allocations: 47.86 kB / 0.5895 GB, free: 1.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1761, allocations: 7.875 kB / 0.5895 GB, free: 1.039 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1761, allocations: 0 / 0.5895 GB, free: 1.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1762, allocations: 0 / 0.5895 GB, free: 1.039 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.0005296/0.1767, allocations: 387.5 kB / 0.5899 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1767, allocations: 8.031 kB / 0.5899 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1768, allocations: 8.844 kB / 0.5899 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1769, allocations: 172.3 kB / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1769, allocations: 4.375 kB / 0.5901 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1769, allocations: 384 / 0.5901 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1772, allocations: 98.14 kB / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1772, allocations: 192 / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1772, allocations: 3.938 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1773, allocations: 4 kB / 0.5902 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.1776, allocations: 91.92 kB / 0.5902 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.178, allocations: 281 kB / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1783, allocations: 86.41 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1785, allocations: 52.92 kB / 0.5907 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.1787, allocations: 109.1 kB / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1787, allocations: 34.56 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1787, allocations: 0 / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005957/0.1793, allocations: 177.5 kB / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1794, allocations: 59.34 kB / 0.591 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1795, allocations: 125.8 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1795, allocations: 25.7 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.1796, allocations: 96.06 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1796, allocations: 15.81 kB / 0.5913 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.1797, allocations: 9.719 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1798, allocations: 318.8 kB / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1799, allocations: 47.97 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.1801, allocations: 51.95 kB / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.1804, allocations: 96.78 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1804, allocations: 3.938 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003659/0.1808, allocations: 129.6 kB / 0.5919 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1808, allocations: 8 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1808, allocations: 3.938 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1809, allocations: 3.938 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.181, allocations: 27.98 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.181, allocations: 0 / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.1811, allocations: 15.98 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1811, allocations: 0 / 0.5919 GB, free: 14.29 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 8.86e-05/0.1812, allocations: 121.8 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.1813, allocations: 8.234 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/0.1817, allocations: 149.4 kB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1817, allocations: 0 / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1817, allocations: 0 / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1817, allocations: 0 / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1819, allocations: 181.6 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.182, allocations: 0 / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1821, allocations: 23.91 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1821, allocations: 4 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1821, allocations: 4 kB / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1821, allocations: 0 / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1821, allocations: 0 / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.1825, allocations: 231.3 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1826, allocations: 85.02 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1826, allocations: 0 / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1827, allocations: 23.98 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.1828, allocations: 7.984 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1828, allocations: 4 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.1829, allocations: 98.39 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1829, allocations: 0 / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.1831, allocations: 12 kB / 0.5929 GB, free: 13.25 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.0001807/0.1833, allocations: 103.2 kB / 0.593 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.1837, allocations: 99.91 kB / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1837, allocations: 0 / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1839, allocations: 55.97 kB / 0.5931 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.1841, allocations: 9.484 kB / 0.5931 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.1845, allocations: 176.5 kB / 0.5933 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1849, allocations: 0.6887 MB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.1849, allocations: 0 / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.1849, allocations: 15.42 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.185, allocations: 0 / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.003009/0.188, allocations: 0.6592 MB / 0.5946 GB, free: 11.4 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)