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.001391/0.001391, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7171/0.7171, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 66.67 kB / 0.5018 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4541, allocations: 80.2 MB / 0.5801 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002562/0.4567, allocations: 1.468 MB / 0.5815 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002706/0.457, allocations: 120.5 kB / 0.5816 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.4571, allocations: 0 / 0.5816 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.4571, allocations: 4.688 kB / 0.5816 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.4572, allocations: 11.86 kB / 0.5817 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.4574, allocations: 24.64 kB / 0.5817 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.304e-05/0.4575, allocations: 47.23 kB / 0.5817 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4576, allocations: 10.19 kB / 0.5817 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.4577, allocations: 17.53 kB / 0.5818 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.4577, allocations: 23.44 kB / 0.5818 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.4578, allocations: 3.438 kB / 0.5818 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.227e-05/0.4578, allocations: 21.84 kB / 0.5818 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.4579, allocations: 13.44 kB / 0.5818 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.4579, allocations: 26.62 kB / 0.5818 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.4581, allocations: 57.62 kB / 0.5819 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4581, allocations: 0 / 0.5819 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4581, allocations: 3.938 kB / 0.5819 GB, free: 3.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4581, allocations: 1.094 kB / 0.5819 GB, free: 3.523 MB / 430.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.0005205/0.4586, allocations: 375.3 kB / 0.5823 GB, free: 3.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4587, allocations: 8.781 kB / 0.5823 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.4587, allocations: 4.859 kB / 0.5823 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.4588, allocations: 181.9 kB / 0.5824 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4589, allocations: 5.5 kB / 0.5824 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.4589, allocations: 2.531 kB / 0.5824 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.4592, allocations: 73.12 kB / 0.5825 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4592, allocations: 4.75 kB / 0.5825 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4592, allocations: 4.625 kB / 0.5825 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4592, allocations: 1.125 kB / 0.5825 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.4595, allocations: 75.8 kB / 0.5826 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.4599, allocations: 287.7 kB / 0.5829 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.4601, allocations: 72.42 kB / 0.5829 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.4603, allocations: 42.03 kB / 0.583 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.4605, allocations: 107.1 kB / 0.5831 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.4606, allocations: 40.17 kB / 0.5831 GB, free: 2.395 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.4606, allocations: 4 kB / 0.5831 GB, free: 2.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005701/0.4611, allocations: 146.4 kB / 0.5833 GB, free: 2.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.4612, allocations: 52.62 kB / 0.5833 GB, free: 2.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.4613, allocations: 132.8 kB / 0.5834 GB, free: 2.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.4613, allocations: 26.41 kB / 0.5835 GB, free: 2.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.4613, allocations: 95.02 kB / 0.5836 GB, free: 2.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.4613, allocations: 9.75 kB / 0.5836 GB, free: 2.035 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.4614, allocations: 13.2 kB / 0.5836 GB, free: 2.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.4614, allocations: 318.9 kB / 0.5839 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.4616, allocations: 39.52 kB / 0.5839 GB, free: 1.695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.4617, allocations: 40.83 kB / 0.584 GB, free: 1.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.462, allocations: 75.08 kB / 0.584 GB, free: 1.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.462, allocations: 3.938 kB / 0.584 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003276/0.4623, allocations: 116.4 kB / 0.5841 GB, free: 1.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4624, allocations: 9.766 kB / 0.5842 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4624, allocations: 1.281 kB / 0.5842 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4624, allocations: 0 / 0.5842 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.4625, allocations: 20.2 kB / 0.5842 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4625, allocations: 3.984 kB / 0.5842 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.4626, allocations: 16.27 kB / 0.5842 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4626, allocations: 0.9375 kB / 0.5842 GB, free: 1.602 MB / 430.1 MB 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 4.959e-05/0.4627, allocations: 122.8 kB / 0.5843 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.4627, allocations: 6.875 kB / 0.5843 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.4631, allocations: 119.3 kB / 0.5844 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4631, allocations: 1.031 kB / 0.5844 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4631, allocations: 1.062 kB / 0.5844 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4631, allocations: 0.75 kB / 0.5844 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.4633, allocations: 183.4 kB / 0.5846 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4633, allocations: 4 kB / 0.5846 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4634, allocations: 20.55 kB / 0.5846 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4634, allocations: 0 / 0.5846 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4634, allocations: 1.656 kB / 0.5846 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4634, allocations: 0.7969 kB / 0.5846 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4634, allocations: 0 / 0.5846 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.4638, allocations: 216.5 kB / 0.5848 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.4638, allocations: 78.94 kB / 0.5849 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.4639, allocations: 5.062 kB / 0.5849 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.464, allocations: 11.31 kB / 0.5849 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.464, allocations: 4.609 kB / 0.5849 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.464, allocations: 2 kB / 0.5849 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.85e-05/0.4641, allocations: 102.3 kB / 0.585 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4641, allocations: 4 kB / 0.585 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.4643, allocations: 9.281 kB / 0.5851 GB, free: 0.8672 MB / 430.1 MB 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.0001514/0.4645, allocations: 98.16 kB / 0.5851 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.4649, allocations: 88.59 kB / 0.5852 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4649, allocations: 0 / 0.5852 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.465, allocations: 47.78 kB / 0.5853 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4653, allocations: 11.2 kB / 0.5853 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.4656, allocations: 156 kB / 0.5854 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.4658, allocations: 0.6899 MB / 0.5861 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.84e-05/0.4658, allocations: 2.062 kB / 0.5861 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.4658, allocations: 10.52 kB / 0.5861 GB, free: 15.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4658, allocations: 3.938 kB / 0.5861 GB, free: 15.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002973/0.4688, allocations: 0.7915 MB / 0.5869 GB, free: 15.82 MB / 446.1 MB 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)