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-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_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.0008573/0.0008574, allocations: 100.1 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.0009278/0.0009278, allocations: 177.3 kB / 15.95 MB, free: 216 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.206/1.206, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8579/0.8579, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003128, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001385/0.1601, allocations: 1.179 MB / 0.5884 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.1604, allocations: 112.5 kB / 0.5885 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.1604, allocations: 4 kB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.1605, allocations: 0 / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.1605, allocations: 11.92 kB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.1607, allocations: 15.97 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.408e-05/0.1608, allocations: 23.97 kB / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.1609, allocations: 12 kB / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.1609, allocations: 15.92 kB / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.161, allocations: 23.91 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.161, allocations: 0 / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.1611, allocations: 15.98 kB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.1611, allocations: 15.92 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1611, allocations: 33.64 kB / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.382e-05/0.1612, allocations: 35.94 kB / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1612, allocations: 0 / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1612, allocations: 0 / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1612, allocations: 4 kB / 0.5887 GB, free: 1.594 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.0004921/0.1617, allocations: 383.3 kB / 0.589 GB, free: 1.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1618, allocations: 8.031 kB / 0.589 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.1618, allocations: 7.906 kB / 0.589 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1619, allocations: 175 kB / 0.5892 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1619, allocations: 0 / 0.5892 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.162, allocations: 4 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.1622, allocations: 85.58 kB / 0.5893 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1622, allocations: 0 / 0.5893 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1623, allocations: 4 kB / 0.5893 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1623, allocations: 7.938 kB / 0.5893 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.1625, allocations: 91.92 kB / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.1629, allocations: 292.8 kB / 0.5897 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1631, allocations: 82.47 kB / 0.5898 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.1633, allocations: 109.2 kB / 0.5899 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1633, allocations: 30.56 kB / 0.5899 GB, free: 164 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1634, allocations: 0 / 0.5899 GB, free: 164 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005432/0.1639, allocations: 177.7 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1639, allocations: 55.41 kB / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.164, allocations: 121.8 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1641, allocations: 25.7 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.1641, allocations: 99.98 kB / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.1641, allocations: 7.891 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1641, allocations: 0 / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1643, allocations: 326.8 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1644, allocations: 51.89 kB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1646, allocations: 43.97 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1647, allocations: 48.23 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1647, allocations: 0 / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003098/0.165, allocations: 137.5 kB / 0.5909 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1651, allocations: 14.48 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1651, allocations: 4 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1651, allocations: 4 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1652, allocations: 19.98 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1652, allocations: 3.984 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.1653, allocations: 19.98 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1653, allocations: 0 / 0.591 GB, free: 14.97 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.373e-05/0.1654, allocations: 128.3 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.1654, allocations: 7.906 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.1658, allocations: 137.5 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1658, allocations: 0 / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1658, allocations: 4 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1658, allocations: 0 / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.166, allocations: 181.6 kB / 0.5914 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.166, allocations: 4 kB / 0.5914 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.1661, allocations: 23.97 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1661, allocations: 3.938 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1661, allocations: 4 kB / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1661, allocations: 0 / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1661, allocations: 0 / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.1665, allocations: 231.4 kB / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.1666, allocations: 85.02 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1666, allocations: 4 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1667, allocations: 11.98 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1667, allocations: 7.984 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1667, allocations: 0 / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.1668, allocations: 106.4 kB / 0.5919 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1668, allocations: 0 / 0.5919 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002095/0.167, allocations: 16 kB / 0.5919 GB, free: 13.93 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.000139/0.1672, allocations: 95.25 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.1675, allocations: 107.9 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1675, allocations: 3.938 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1677, allocations: 47.97 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.1678, allocations: 11.94 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.1681, allocations: 160.6 kB / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1684, allocations: 0.6887 MB / 0.593 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.1684, allocations: 8 kB / 0.593 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.1685, allocations: 11.44 kB / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1685, allocations: 0 / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.002371/0.1708, allocations: 0.6321 MB / 0.5936 GB, free: 12.12 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: