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.001181/0.001181, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9523/0.9523, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.22 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1718, allocations: 80.93 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002974/0.1749, allocations: 1.478 MB / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003199/0.1752, allocations: 116.5 kB / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.1752, allocations: 0 / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.1753, allocations: 7.875 kB / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.1754, allocations: 15.86 kB / 0.5859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1756, allocations: 19.97 kB / 0.586 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.1757, allocations: 39.92 kB / 0.586 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.1758, allocations: 11.98 kB / 0.586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.1759, allocations: 19.92 kB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.176, allocations: 19.92 kB / 0.586 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.176, allocations: 7.938 kB / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.1761, allocations: 19.98 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.1761, allocations: 15.92 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.1762, allocations: 23.86 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1763, allocations: 55.86 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1763, allocations: 3.938 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1763, allocations: 0 / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1763, allocations: 4 kB / 0.5862 GB, free: 2.676 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.0005525/0.1769, allocations: 375.5 kB / 0.5865 GB, free: 2.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1769, allocations: 8.031 kB / 0.5865 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.177, allocations: 12.84 kB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1771, allocations: 172.3 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1771, allocations: 384 / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1772, allocations: 4.375 kB / 0.5867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1774, allocations: 78.2 kB / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1774, allocations: 192 / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1775, allocations: 3.938 kB / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1775, allocations: 3.938 kB / 0.5868 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1778, allocations: 71.92 kB / 0.5869 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.1781, allocations: 288.9 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.1784, allocations: 74.45 kB / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1785, allocations: 40.92 kB / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.1788, allocations: 113.1 kB / 0.5874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1788, allocations: 34.5 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1788, allocations: 0 / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005509/0.1794, allocations: 145.6 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1794, allocations: 51.41 kB / 0.5876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1795, allocations: 133.7 kB / 0.5877 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.1795, allocations: 25.7 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.1796, allocations: 92.06 kB / 0.5878 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1796, allocations: 11.91 kB / 0.5878 GB, free: 0.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1797, allocations: 13.72 kB / 0.5879 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1798, allocations: 322.8 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1799, allocations: 31.97 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1801, allocations: 45.55 kB / 0.5882 GB, free: 340 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.1804, allocations: 80.72 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1804, allocations: 7.938 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003267/0.1807, allocations: 113.5 kB / 0.5884 GB, free: 128 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1807, allocations: 8 kB / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1808, allocations: 0 / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1808, allocations: 3.938 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1809, allocations: 19.98 kB / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1809, allocations: 0 / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.181, allocations: 7.984 kB / 0.5885 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.181, allocations: 4 kB / 0.5885 GB, free: 84 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 9.803e-05/0.1811, allocations: 125.7 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.1812, allocations: 3.906 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.1815, allocations: 117.5 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1815, allocations: 4 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1815, allocations: 0 / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1816, allocations: 0 / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1817, allocations: 181.6 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1817, allocations: 0 / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-05/0.1818, allocations: 19.97 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1818, allocations: 0 / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1819, allocations: 0 / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1819, allocations: 4 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1819, allocations: 4 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.1822, allocations: 207.7 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.1823, allocations: 81.06 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1823, allocations: 7.984 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1824, allocations: 11.98 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1825, allocations: 7.984 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1825, allocations: 0 / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.1825, allocations: 99.27 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1825, allocations: 0 / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002377/0.1828, allocations: 12 kB / 0.5893 GB, free: 15.11 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.0001342/0.1829, allocations: 95.25 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1833, allocations: 95.84 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1833, allocations: 0 / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1835, allocations: 35.97 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1837, allocations: 15.92 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.184, allocations: 157.3 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1842, allocations: 0.6923 MB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.1843, allocations: 4 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1843, allocations: 15.38 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1843, allocations: 4 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.002962/0.1873, allocations: 0.7974 MB / 0.5912 GB, free: 13.15 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)