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.0009118/0.0009119, allocations: 92.7 kB / 16.02 MB, free: 80 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.0009948/0.0009948, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9303/0.9303, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 8.562 kB / 0.5082 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 82.31 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001538/0.159, allocations: 1.204 MB / 0.5898 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.1593, allocations: 120.4 kB / 0.5899 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1593, allocations: 0 / 0.5899 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.1594, allocations: 4 kB / 0.5899 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.1594, allocations: 3.938 kB / 0.5899 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.1596, allocations: 19.97 kB / 0.5899 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.1597, allocations: 43.86 kB / 0.59 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.1598, allocations: 8 kB / 0.59 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.1598, allocations: 19.91 kB / 0.59 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.1599, allocations: 27.84 kB / 0.59 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1599, allocations: 0 / 0.59 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.146e-05/0.16, allocations: 19.98 kB / 0.59 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.16, allocations: 7.938 kB / 0.59 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.1601, allocations: 45.56 kB / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.825e-05/0.1602, allocations: 43.92 kB / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1602, allocations: 0 / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1602, allocations: 0 / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1602, allocations: 4 kB / 0.5901 GB, free: 1.062 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.0004983/0.1607, allocations: 381.4 kB / 0.5905 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1607, allocations: 12.03 kB / 0.5905 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.1608, allocations: 4.844 kB / 0.5905 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1609, allocations: 168.3 kB / 0.5907 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1609, allocations: 8.375 kB / 0.5907 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1609, allocations: 384 / 0.5907 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.1612, allocations: 94.14 kB / 0.5908 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1612, allocations: 192 / 0.5908 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1613, allocations: 7.938 kB / 0.5908 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1613, allocations: 4 kB / 0.5908 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.1616, allocations: 95.92 kB / 0.5909 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.162, allocations: 281 kB / 0.5911 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1622, allocations: 86.41 kB / 0.5912 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.1624, allocations: 48.92 kB / 0.5913 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.1627, allocations: 109.1 kB / 0.5914 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1627, allocations: 30.56 kB / 0.5914 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1627, allocations: 7.938 kB / 0.5914 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006089/0.1633, allocations: 181.5 kB / 0.5916 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1634, allocations: 55.39 kB / 0.5916 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1635, allocations: 129.2 kB / 0.5918 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1635, allocations: 25.7 kB / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.1635, allocations: 104 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1636, allocations: 7.812 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.1636, allocations: 13.72 kB / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1637, allocations: 318.8 kB / 0.5922 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.1639, allocations: 47.97 kB / 0.5923 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1641, allocations: 47.95 kB / 0.5923 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.1644, allocations: 100.8 kB / 0.5924 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1644, allocations: 7.938 kB / 0.5924 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003503/0.1648, allocations: 129.6 kB / 0.5925 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1648, allocations: 4 kB / 0.5925 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1648, allocations: 0 / 0.5925 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1648, allocations: 4 kB / 0.5925 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1649, allocations: 23.86 kB / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1649, allocations: 4 kB / 0.5926 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.165, allocations: 19.98 kB / 0.5926 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1651, allocations: 0 / 0.5926 GB, free: 14.31 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.669e-05/0.1651, allocations: 121.8 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1652, allocations: 3.906 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.1656, allocations: 137.5 kB / 0.5928 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1656, allocations: 0 / 0.5928 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1656, allocations: 4 kB / 0.5928 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1656, allocations: 0 / 0.5928 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.1658, allocations: 181.6 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1658, allocations: 4 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1659, allocations: 27.91 kB / 0.593 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1659, allocations: 0 / 0.593 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1659, allocations: 0 / 0.593 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.166, allocations: 4 kB / 0.593 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.166, allocations: 0 / 0.593 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.1664, allocations: 235.3 kB / 0.5933 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.1664, allocations: 81.02 kB / 0.5933 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1664, allocations: 7.938 kB / 0.5934 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1666, allocations: 19.98 kB / 0.5934 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1666, allocations: 3.984 kB / 0.5934 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.1666, allocations: 4 kB / 0.5934 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.1667, allocations: 95.27 kB / 0.5935 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1667, allocations: 0 / 0.5935 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002277/0.1669, allocations: 16 kB / 0.5935 GB, free: 13.28 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.0001409/0.1671, allocations: 99.23 kB / 0.5936 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.1675, allocations: 112.3 kB / 0.5937 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1675, allocations: 0 / 0.5937 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.1677, allocations: 47.97 kB / 0.5937 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1679, allocations: 15.92 kB / 0.5938 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.1683, allocations: 194.5 kB / 0.5939 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1686, allocations: 0.6848 MB / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.1686, allocations: 15.42 kB / 0.5946 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1686, allocations: 0 / 0.5946 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.002157/0.1708, allocations: 0.8862 MB / 0.5955 GB, free: 11.17 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)