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.007734/0.007734, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001921/0.001921, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.779/0.779, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 71.75 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1527, allocations: 80.94 MB / 0.6647 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002856/0.1556, allocations: 1.465 MB / 0.6661 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003809/0.156, allocations: 120.5 kB / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.1561, allocations: 0 / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.1562, allocations: 3.938 kB / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.1563, allocations: 11.94 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1565, allocations: 23.91 kB / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.227e-05/0.1566, allocations: 39.91 kB / 0.6663 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1567, allocations: 15.92 kB / 0.6663 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.1567, allocations: 15.98 kB / 0.6663 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.1568, allocations: 27.83 kB / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1568, allocations: 7.938 kB / 0.6663 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.1569, allocations: 23.98 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.157, allocations: 11.98 kB / 0.6664 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.157, allocations: 19.88 kB / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1571, allocations: 63.8 kB / 0.6665 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1572, allocations: 0 / 0.6665 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1572, allocations: 3.938 kB / 0.6665 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1572, allocations: 0 / 0.6665 GB, free: 3.93 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.0005281/0.1577, allocations: 383.1 kB / 0.6668 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1578, allocations: 9.109 kB / 0.6668 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.1578, allocations: 8.844 kB / 0.6668 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1579, allocations: 176.3 kB / 0.667 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.1579, allocations: 4.375 kB / 0.667 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.158, allocations: 384 / 0.667 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.1582, allocations: 74.22 kB / 0.6671 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1582, allocations: 192 / 0.6671 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1583, allocations: 3.938 kB / 0.6671 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1583, allocations: 0 / 0.6671 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.1585, allocations: 79.86 kB / 0.6672 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.1589, allocations: 284.9 kB / 0.6674 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1591, allocations: 74.41 kB / 0.6675 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1593, allocations: 44.91 kB / 0.6676 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.1595, allocations: 113.1 kB / 0.6677 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1596, allocations: 30.56 kB / 0.6677 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1596, allocations: 0 / 0.6677 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005083/0.1601, allocations: 149.4 kB / 0.6678 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1601, allocations: 51.41 kB / 0.6679 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1602, allocations: 129.8 kB / 0.668 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1602, allocations: 25.7 kB / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.1603, allocations: 88.14 kB / 0.6681 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1603, allocations: 15.8 kB / 0.6681 GB, free: 2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1604, allocations: 17.72 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1605, allocations: 318.8 kB / 0.6684 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1606, allocations: 35.95 kB / 0.6685 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1608, allocations: 31.97 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.161, allocations: 88.7 kB / 0.6686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1611, allocations: 3.938 kB / 0.6686 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003489/0.1614, allocations: 105.6 kB / 0.6687 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1614, allocations: 4 kB / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1615, allocations: 4 kB / 0.6687 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1615, allocations: 4.328 kB / 0.6687 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1616, allocations: 15.97 kB / 0.6687 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1616, allocations: 7.938 kB / 0.6687 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.1617, allocations: 11.98 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1617, allocations: 0 / 0.6687 GB, free: 1.34 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.712e-05/0.1618, allocations: 117.8 kB / 0.6689 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1618, allocations: 7.906 kB / 0.6689 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.1622, allocations: 129.4 kB / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1622, allocations: 0 / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1622, allocations: 0 / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1622, allocations: 0 / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1624, allocations: 181.6 kB / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1624, allocations: 0 / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.1625, allocations: 19.98 kB / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1625, allocations: 4 kB / 0.6692 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1625, allocations: 0 / 0.6692 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1625, allocations: 3.938 kB / 0.6692 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1625, allocations: 3.984 kB / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.1629, allocations: 215.3 kB / 0.6694 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.1629, allocations: 81.02 kB / 0.6695 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.163, allocations: 3.984 kB / 0.6695 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.1631, allocations: 11.98 kB / 0.6695 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.1631, allocations: 0 / 0.6695 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1631, allocations: 4 kB / 0.6695 GB, free: 480 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.1632, allocations: 106.8 kB / 0.6696 GB, free: 376 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1632, allocations: 0 / 0.6696 GB, free: 376 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002586/0.1635, allocations: 11.94 kB / 0.6696 GB, free: 364 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.0001495/0.1636, allocations: 108.6 kB / 0.6697 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.1639, allocations: 75.92 kB / 0.6698 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1639, allocations: 0 / 0.6698 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1641, allocations: 47.89 kB / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.1643, allocations: 11.94 kB / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.1647, allocations: 153.5 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.165, allocations: 0.6884 MB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.165, allocations: 0 / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.1651, allocations: 7.438 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1651, allocations: 4 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.003093/0.1682, allocations: 0.8074 MB / 0.6715 GB, free: 14.4 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)