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.01035/0.01035, allocations: 101.7 kB / 15.73 MB, free: 6.051 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.00171/0.00171, allocations: 194.2 kB / 16.67 MB, free: 5.98 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7734/0.7734, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 68.61 kB / 0.5814 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1718, allocations: 80.21 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002777/0.1747, allocations: 1.477 MB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.1751, allocations: 112.5 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.1751, allocations: 0 / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.1752, allocations: 3.938 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.1753, allocations: 11.88 kB / 0.6613 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.1756, allocations: 23.97 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.358e-05/0.1757, allocations: 47.78 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1758, allocations: 12 kB / 0.6613 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.1758, allocations: 15.92 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.1759, allocations: 23.91 kB / 0.6614 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1759, allocations: 4 kB / 0.6614 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.035e-05/0.176, allocations: 23.97 kB / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.176, allocations: 15.94 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.1761, allocations: 19.86 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1762, allocations: 63.8 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1762, allocations: 0 / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1763, allocations: 0 / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.1763, allocations: 0 / 0.6615 GB, free: 11.64 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.000536/0.1768, allocations: 383.2 kB / 0.6619 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1768, allocations: 8.031 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.1769, allocations: 12.84 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.177, allocations: 172.3 kB / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.177, allocations: 4.375 kB / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1771, allocations: 384 / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.1773, allocations: 78.16 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1773, allocations: 192 / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1774, allocations: 3.938 kB / 0.6621 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1774, allocations: 0 / 0.6621 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.1777, allocations: 79.92 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1781, allocations: 280.9 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.1783, allocations: 74.41 kB / 0.6625 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1785, allocations: 48.91 kB / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.1787, allocations: 109.1 kB / 0.6627 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1788, allocations: 34.5 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1788, allocations: 0 / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000584/0.1794, allocations: 149.5 kB / 0.6629 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1794, allocations: 55.34 kB / 0.6629 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1795, allocations: 129 kB / 0.663 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1796, allocations: 25.7 kB / 0.6631 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.1796, allocations: 92.14 kB / 0.6632 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1796, allocations: 7.812 kB / 0.6632 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.1797, allocations: 25.7 kB / 0.6632 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1798, allocations: 314.8 kB / 0.6635 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.18, allocations: 35.95 kB / 0.6635 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1801, allocations: 32.16 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1804, allocations: 88.86 kB / 0.6636 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1804, allocations: 3.938 kB / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003144/0.1807, allocations: 105.6 kB / 0.6637 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1807, allocations: 7.938 kB / 0.6637 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1807, allocations: 7.938 kB / 0.6638 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1808, allocations: 0 / 0.6638 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1809, allocations: 19.97 kB / 0.6638 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1809, allocations: 0 / 0.6638 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.181, allocations: 11.98 kB / 0.6638 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.181, allocations: 4 kB / 0.6638 GB, free: 9.047 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.164e-05/0.1811, allocations: 113.8 kB / 0.6639 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.1811, allocations: 7.906 kB / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.1815, allocations: 125.5 kB / 0.664 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1815, allocations: 0 / 0.664 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1815, allocations: 0 / 0.664 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1815, allocations: 0 / 0.664 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1817, allocations: 181.6 kB / 0.6642 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1817, allocations: 0 / 0.6642 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.1818, allocations: 23.92 kB / 0.6642 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1818, allocations: 4 kB / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1818, allocations: 0 / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1819, allocations: 0 / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1819, allocations: 0 / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.1822, allocations: 211.3 kB / 0.6644 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.1823, allocations: 84.95 kB / 0.6645 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1823, allocations: 4 kB / 0.6645 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1824, allocations: 15.97 kB / 0.6645 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1825, allocations: 4 kB / 0.6645 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1825, allocations: 4 kB / 0.6645 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.1825, allocations: 95.27 kB / 0.6646 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1825, allocations: 0 / 0.6646 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002407/0.1828, allocations: 15.94 kB / 0.6646 GB, free: 8.062 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.000163/0.1829, allocations: 115.2 kB / 0.6647 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.1833, allocations: 71.92 kB / 0.6648 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1833, allocations: 0 / 0.6648 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1835, allocations: 39.95 kB / 0.6649 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1837, allocations: 15.94 kB / 0.6649 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.1841, allocations: 149.5 kB / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1844, allocations: 0.6884 MB / 0.6657 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.1844, allocations: 4 kB / 0.6657 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.1844, allocations: 15.38 kB / 0.6657 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1844, allocations: 0 / 0.6657 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.003131/0.1876, allocations: 0.8025 MB / 0.6665 GB, free: 6.113 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)