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.001456/0.001456, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001191/0.001191, allocations: 187 kB / 17.34 MB, free: 5.754 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: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 423.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.06 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1495, allocations: 80.2 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002916/0.1525, allocations: 1.494 MB / 0.6618 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003484/0.1529, allocations: 112.5 kB / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.1529, allocations: 0 / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.153, allocations: 3.938 kB / 0.6619 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.1531, allocations: 7.938 kB / 0.6619 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1533, allocations: 23.95 kB / 0.6619 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1535, allocations: 47.84 kB / 0.662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1536, allocations: 15.94 kB / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/0.1536, allocations: 15.98 kB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.1537, allocations: 27.86 kB / 0.662 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1537, allocations: 4 kB / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.1538, allocations: 19.98 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.1539, allocations: 7.984 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.1539, allocations: 27.86 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1541, allocations: 51.8 kB / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1541, allocations: 0 / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1541, allocations: 0 / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1541, allocations: 0 / 0.6621 GB, free: 8.375 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.0006052/0.1547, allocations: 391.2 kB / 0.6625 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1548, allocations: 8.031 kB / 0.6625 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1548, allocations: 8.844 kB / 0.6625 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1549, allocations: 168.3 kB / 0.6627 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.155, allocations: 384 / 0.6627 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.155, allocations: 8.375 kB / 0.6627 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1553, allocations: 78.2 kB / 0.6628 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1553, allocations: 192 / 0.6628 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1553, allocations: 3.938 kB / 0.6628 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1553, allocations: 0 / 0.6628 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.1556, allocations: 71.92 kB / 0.6628 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.156, allocations: 292.8 kB / 0.6631 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1562, allocations: 78.41 kB / 0.6632 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1564, allocations: 36.92 kB / 0.6632 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.1566, allocations: 113.1 kB / 0.6633 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1567, allocations: 34.55 kB / 0.6634 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1567, allocations: 3.938 kB / 0.6634 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005611/0.1572, allocations: 157.4 kB / 0.6635 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1573, allocations: 55.41 kB / 0.6636 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1574, allocations: 125.8 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1574, allocations: 25.7 kB / 0.6637 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.1575, allocations: 88.14 kB / 0.6638 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.1575, allocations: 11.81 kB / 0.6638 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.1575, allocations: 13.72 kB / 0.6638 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1577, allocations: 322.8 kB / 0.6641 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1578, allocations: 39.95 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.158, allocations: 35.97 kB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.1582, allocations: 72.78 kB / 0.6643 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.1582, allocations: 3.938 kB / 0.6643 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003219/0.1586, allocations: 117.5 kB / 0.6644 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1586, allocations: 8 kB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1586, allocations: 0 / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1586, allocations: 0 / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1588, allocations: 15.98 kB / 0.6644 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1588, allocations: 0 / 0.6644 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.1589, allocations: 19.88 kB / 0.6644 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1589, allocations: 4 kB / 0.6644 GB, free: 5.766 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.078e-05/0.159, allocations: 117.8 kB / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.159, allocations: 0 / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.1594, allocations: 121.4 kB / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1594, allocations: 0 / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1594, allocations: 12 kB / 0.6647 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1594, allocations: 0 / 0.6647 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1596, allocations: 177.6 kB / 0.6649 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1596, allocations: 0 / 0.6649 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.1597, allocations: 15.98 kB / 0.6649 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1597, allocations: 0 / 0.6649 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1597, allocations: 0 / 0.6649 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1597, allocations: 3.938 kB / 0.6649 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1597, allocations: 4 kB / 0.6649 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1601, allocations: 215.2 kB / 0.6651 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.1601, allocations: 81.02 kB / 0.6652 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.1602, allocations: 8 kB / 0.6652 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1603, allocations: 11.97 kB / 0.6652 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1603, allocations: 8 kB / 0.6652 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1603, allocations: 0 / 0.6652 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.1604, allocations: 102.3 kB / 0.6653 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1604, allocations: 0 / 0.6653 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002311/0.1607, allocations: 19.88 kB / 0.6653 GB, free: 4.777 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.0001441/0.1608, allocations: 99.23 kB / 0.6654 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.1611, allocations: 80.34 kB / 0.6655 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1612, allocations: 0 / 0.6655 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1613, allocations: 47.89 kB / 0.6655 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1615, allocations: 5.656 kB / 0.6655 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.1619, allocations: 179.4 kB / 0.6657 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1622, allocations: 0.6924 MB / 0.6664 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.1622, allocations: 7.438 kB / 0.6664 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1622, allocations: 0 / 0.6664 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of Templates: time 0.002295/0.1645, allocations: 0.9001 MB / 0.6673 GB, free: 2.707 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)