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.006945/0.006945, allocations: 101.4 kB / 15.73 MB, free: 5.551 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.001206/0.001206, allocations: 195.1 kB / 16.67 MB, free: 5.48 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8083/0.8083, allocations: 135.1 MB / 425.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.12 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.156, allocations: 80.92 MB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002704/0.1588, allocations: 1.477 MB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.1591, allocations: 112.6 kB / 0.6662 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.1592, allocations: 0 / 0.6662 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.1592, allocations: 7.938 kB / 0.6662 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.1593, allocations: 15.81 kB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.1596, allocations: 23.95 kB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.1597, allocations: 47.84 kB / 0.6663 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1598, allocations: 11.98 kB / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.1598, allocations: 15.92 kB / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.1599, allocations: 19.92 kB / 0.6663 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1599, allocations: 4 kB / 0.6663 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.737e-05/0.16, allocations: 23.92 kB / 0.6664 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.247e-05/0.1601, allocations: 11.98 kB / 0.6664 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.1601, allocations: 27.86 kB / 0.6664 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1603, allocations: 59.73 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1603, allocations: 0 / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1603, allocations: 0 / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1603, allocations: 0 / 0.6665 GB, free: 3.918 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.0005002/0.1608, allocations: 379.2 kB / 0.6668 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1608, allocations: 9.109 kB / 0.6668 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1609, allocations: 8.891 kB / 0.6668 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.161, allocations: 180.2 kB / 0.667 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.161, allocations: 4.375 kB / 0.667 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.161, allocations: 384 / 0.667 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.1613, allocations: 78.14 kB / 0.6671 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1613, allocations: 192 / 0.6671 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1613, allocations: 3.938 kB / 0.6671 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1613, allocations: 4 kB / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.1616, allocations: 75.92 kB / 0.6672 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.162, allocations: 284.9 kB / 0.6674 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1622, allocations: 70.41 kB / 0.6675 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1624, allocations: 48.92 kB / 0.6676 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.1626, allocations: 112.9 kB / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1627, allocations: 34.55 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1627, allocations: 0 / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005724/0.1632, allocations: 153.5 kB / 0.6678 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1633, allocations: 55.34 kB / 0.6679 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1634, allocations: 125.8 kB / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1635, allocations: 25.7 kB / 0.668 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.1635, allocations: 92.14 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.1635, allocations: 7.953 kB / 0.6681 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.1636, allocations: 13.72 kB / 0.6681 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1637, allocations: 318.8 kB / 0.6684 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1638, allocations: 35.95 kB / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.164, allocations: 35.97 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1643, allocations: 80.78 kB / 0.6686 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1643, allocations: 7.875 kB / 0.6686 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003182/0.1646, allocations: 113.6 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1646, allocations: 4 kB / 0.6687 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1646, allocations: 7.938 kB / 0.6687 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1646, allocations: 0 / 0.6687 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1648, allocations: 16.31 kB / 0.6687 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1648, allocations: 0 / 0.6687 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.1649, allocations: 19.91 kB / 0.6688 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1649, allocations: 0 / 0.6688 GB, free: 1.316 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 7.434e-05/0.165, allocations: 117.8 kB / 0.6689 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.165, allocations: 7.953 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.1654, allocations: 121.5 kB / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1654, allocations: 4 kB / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1654, allocations: 0 / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1654, allocations: 0 / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.1656, allocations: 181.6 kB / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1656, allocations: 8 kB / 0.6692 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.1657, allocations: 19.92 kB / 0.6692 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1657, allocations: 0 / 0.6692 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1657, allocations: 0 / 0.6692 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1657, allocations: 4 kB / 0.6692 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.1658, allocations: 0 / 0.6692 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.1661, allocations: 215.3 kB / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.1662, allocations: 85.06 kB / 0.6695 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1662, allocations: 0 / 0.6695 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1663, allocations: 7.984 kB / 0.6695 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.1663, allocations: 11.98 kB / 0.6695 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.1664, allocations: 0 / 0.6695 GB, free: 456 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.1664, allocations: 98.64 kB / 0.6696 GB, free: 360 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1664, allocations: 0 / 0.6696 GB, free: 360 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000225/0.1667, allocations: 12 kB / 0.6696 GB, free: 348 kB / 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.0001297/0.1668, allocations: 112.5 kB / 0.6697 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.1671, allocations: 75.92 kB / 0.6698 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1671, allocations: 0 / 0.6698 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1673, allocations: 43.95 kB / 0.6698 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.1675, allocations: 11.94 kB / 0.6698 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.1679, allocations: 157.3 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1682, allocations: 0.6884 MB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.1682, allocations: 7.938 kB / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.1682, allocations: 7.438 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1683, allocations: 4 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.00296/0.1712, allocations: 0.8027 MB / 0.6715 GB, free: 14.38 MB / 0.5137 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)