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.0008701/0.0008699, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001003/0.001003, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8536/0.8536, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 12 kB / 0.5068 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 82.31 MB / 0.5872 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001984/0.1553, allocations: 1.183 MB / 0.5883 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003929/0.1557, allocations: 116.5 kB / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.1558, allocations: 0 / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.401e-05/0.1559, allocations: 3.938 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.156, allocations: 11.98 kB / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1562, allocations: 15.97 kB / 0.5885 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.1563, allocations: 27.95 kB / 0.5885 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.1564, allocations: 4 kB / 0.5885 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.1564, allocations: 19.92 kB / 0.5885 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.1565, allocations: 19.92 kB / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1565, allocations: 4 kB / 0.5886 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.1566, allocations: 15.98 kB / 0.5886 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.1566, allocations: 15.92 kB / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1567, allocations: 29.7 kB / 0.5886 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.998e-05/0.1568, allocations: 39.92 kB / 0.5887 GB, free: 1.559 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1568, allocations: 0 / 0.5887 GB, free: 1.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1568, allocations: 0 / 0.5887 GB, free: 1.559 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1568, allocations: 0 / 0.5887 GB, free: 1.559 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.0005179/0.1573, allocations: 383.3 kB / 0.589 GB, free: 1.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1574, allocations: 12.03 kB / 0.589 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.1574, allocations: 7.906 kB / 0.589 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1575, allocations: 171 kB / 0.5892 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1576, allocations: 7.938 kB / 0.5892 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.1576, allocations: 0 / 0.5892 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.1579, allocations: 89.64 kB / 0.5893 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1579, allocations: 0 / 0.5893 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1579, allocations: 0 / 0.5893 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1579, allocations: 0 / 0.5893 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.1582, allocations: 99.86 kB / 0.5894 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1586, allocations: 296.8 kB / 0.5897 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.1589, allocations: 74.53 kB / 0.5897 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.1591, allocations: 109.2 kB / 0.5899 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1591, allocations: 30.56 kB / 0.5899 GB, free: 128 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1591, allocations: 0 / 0.5899 GB, free: 128 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005779/0.1597, allocations: 181.7 kB / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.1598, allocations: 55.41 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.1599, allocations: 128.8 kB / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1599, allocations: 25.7 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.16, allocations: 99.98 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.16, allocations: 7.891 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.16, allocations: 0 / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1601, allocations: 322.8 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1603, allocations: 47.95 kB / 0.5907 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1604, allocations: 47.95 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1606, allocations: 51.95 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1606, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/0.1609, allocations: 137.5 kB / 0.5909 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.161, allocations: 4 kB / 0.5909 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.161, allocations: 0 / 0.5909 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.161, allocations: 0 / 0.5909 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1611, allocations: 27.92 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1611, allocations: 3.984 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.1612, allocations: 15.98 kB / 0.591 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1612, allocations: 4 kB / 0.591 GB, free: 14.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.1613, allocations: 121.8 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1614, allocations: 4 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.1617, allocations: 141.4 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1618, allocations: 0 / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1618, allocations: 4 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1618, allocations: 0 / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1619, allocations: 185.6 kB / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.162, allocations: 0 / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.927e-05/0.1621, allocations: 31.91 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1621, allocations: 0 / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1621, allocations: 11.88 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1621, allocations: 0 / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1621, allocations: 0 / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.1625, allocations: 231.4 kB / 0.5917 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.1625, allocations: 81.02 kB / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1626, allocations: 0 / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1627, allocations: 19.98 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.1627, allocations: 7.984 kB / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1627, allocations: 0 / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.211e-05/0.1628, allocations: 103.3 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002196/0.163, allocations: 8 kB / 0.5919 GB, free: 13.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.1632, allocations: 103.2 kB / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.1635, allocations: 103.9 kB / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1635, allocations: 0 / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1637, allocations: 51.97 kB / 0.5921 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.1639, allocations: 11.94 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.1642, allocations: 164.6 kB / 0.5923 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1645, allocations: 0.6887 MB / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.1645, allocations: 432 / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.1646, allocations: 15.38 kB / 0.593 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1646, allocations: 0 / 0.593 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.002765/0.1673, allocations: 0.633 MB / 0.5936 GB, free: 12.08 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: