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.005657/0.005657, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001259/0.001259, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8383/0.8383, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.36 kB / 0.5814 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1535, allocations: 80.21 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002608/0.1562, allocations: 1.473 MB / 0.6611 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003402/0.1566, allocations: 112.5 kB / 0.6612 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.1566, allocations: 0 / 0.6612 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.1567, allocations: 7.938 kB / 0.6612 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/0.1568, allocations: 15.88 kB / 0.6612 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.157, allocations: 15.97 kB / 0.6613 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.1571, allocations: 51.84 kB / 0.6613 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.1572, allocations: 4 kB / 0.6613 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.1573, allocations: 23.91 kB / 0.6613 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.1573, allocations: 23.91 kB / 0.6614 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1574, allocations: 4 kB / 0.6614 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.1574, allocations: 27.98 kB / 0.6614 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1575, allocations: 15.88 kB / 0.6614 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.1576, allocations: 23.86 kB / 0.6614 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1577, allocations: 55.8 kB / 0.6615 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1577, allocations: 0 / 0.6615 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1577, allocations: 0 / 0.6615 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1577, allocations: 0 / 0.6615 GB, free: 8.5 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.0005399/0.1583, allocations: 379.2 kB / 0.6618 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1583, allocations: 12.03 kB / 0.6619 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1584, allocations: 8.844 kB / 0.6619 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.1585, allocations: 176.3 kB / 0.662 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.1585, allocations: 384 / 0.662 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1585, allocations: 4.375 kB / 0.662 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.1588, allocations: 74.16 kB / 0.6621 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1588, allocations: 192 / 0.6621 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1589, allocations: 3.938 kB / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1589, allocations: 4 kB / 0.6621 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.1592, allocations: 71.92 kB / 0.6622 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1596, allocations: 288.9 kB / 0.6625 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1598, allocations: 74.41 kB / 0.6625 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.16, allocations: 44.91 kB / 0.6626 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.1602, allocations: 109.1 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1603, allocations: 30.56 kB / 0.6627 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1603, allocations: 7.938 kB / 0.6627 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005943/0.1609, allocations: 145.5 kB / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.1609, allocations: 51.41 kB / 0.6629 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.161, allocations: 137 kB / 0.663 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1611, allocations: 25.7 kB / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.1611, allocations: 92.14 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1611, allocations: 11.81 kB / 0.6632 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1612, allocations: 17.7 kB / 0.6632 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1613, allocations: 314.8 kB / 0.6635 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.1615, allocations: 35.95 kB / 0.6635 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1616, allocations: 39.97 kB / 0.6635 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1619, allocations: 81.05 kB / 0.6636 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1619, allocations: 3.938 kB / 0.6636 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003556/0.1623, allocations: 113.6 kB / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1623, allocations: 8 kB / 0.6637 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1623, allocations: 0 / 0.6637 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1623, allocations: 0 / 0.6637 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1625, allocations: 23.91 kB / 0.6638 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1625, allocations: 0 / 0.6638 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.1626, allocations: 15.89 kB / 0.6638 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.1626, allocations: 3.938 kB / 0.6638 GB, free: 5.898 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.593e-05/0.1627, allocations: 121.8 kB / 0.6639 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1627, allocations: 0 / 0.6639 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.1631, allocations: 117.5 kB / 0.664 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1631, allocations: 4 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1631, allocations: 0 / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1631, allocations: 0 / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1633, allocations: 181.6 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1633, allocations: 8 kB / 0.6642 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1635, allocations: 19.92 kB / 0.6642 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1635, allocations: 0 / 0.6642 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1635, allocations: 0 / 0.6642 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1635, allocations: 4 kB / 0.6642 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1635, allocations: 0 / 0.6642 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.1639, allocations: 211.3 kB / 0.6644 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.1639, allocations: 81.02 kB / 0.6645 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.164, allocations: 11.92 kB / 0.6645 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1641, allocations: 7.984 kB / 0.6645 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1641, allocations: 4 kB / 0.6645 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1641, allocations: 0 / 0.6645 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.1642, allocations: 103.2 kB / 0.6646 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1642, allocations: 4 kB / 0.6646 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002457/0.1644, allocations: 15.94 kB / 0.6646 GB, free: 4.91 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.0001404/0.1646, allocations: 99.19 kB / 0.6647 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.165, allocations: 79.92 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.165, allocations: 0 / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1651, allocations: 43.95 kB / 0.6649 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.1654, allocations: 12.19 kB / 0.6649 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.1658, allocations: 152 kB / 0.665 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.166, allocations: 0.6924 MB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.211e-05/0.1661, allocations: 3.938 kB / 0.6657 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1661, allocations: 15.44 kB / 0.6657 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1661, allocations: 0 / 0.6657 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of Templates: time 0.003018/0.1691, allocations: 0.798 MB / 0.6665 GB, free: 2.969 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)