Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear") translateModel(Annex60.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009605/0.0009607, 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.001062/0.001062, 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 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3843/0.3843, allocations: 54.98 MB / 325.4 MB, free: 0.7578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008586/0.0008588, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3353, allocations: 60.72 MB / 457.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.001474/0.3368, allocations: 1.163 MB / 458.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002278/0.337, allocations: 92.39 kB / 458.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.3371, allocations: 0 / 458.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.3371, allocations: 3.938 kB / 458.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.3372, allocations: 10.92 kB / 458.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.3374, allocations: 14.78 kB / 458.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.046e-05/0.3374, allocations: 27.12 kB / 458.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.579e-05/0.3375, allocations: 11.73 kB / 458.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.3376, allocations: 13.22 kB / 458.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.3376, allocations: 17.89 kB / 458.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3376, allocations: 4.281 kB / 458.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.446e-05/0.3377, allocations: 18.8 kB / 458.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.3377, allocations: 13.84 kB / 458.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.3377, allocations: 29.86 kB / 458.7 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.902e-05/0.3378, allocations: 41.39 kB / 458.8 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.3378, allocations: 0 / 458.8 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3378, allocations: 0.5312 kB / 458.8 MB, free: 38.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.3379, allocations: 0 / 458.8 MB, free: 38.2 MB / 382.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.0004224/0.3383, allocations: 377.7 kB / 459.1 MB, free: 37.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.3383, allocations: 13.39 kB / 459.1 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.3384, allocations: 11.47 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.5e-05/0.3384, allocations: 176.4 kB / 459.3 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3385, allocations: 6.344 kB / 459.3 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3385, allocations: 3.031 kB / 459.3 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.3387, allocations: 83.94 kB / 459.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3387, allocations: 0 / 459.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3387, allocations: 3.328 kB / 459.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3388, allocations: 3.891 kB / 459.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.3391, allocations: 98.77 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.3394, allocations: 285.5 kB / 459.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3396, allocations: 81.97 kB / 459.9 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.3398, allocations: 104.6 kB / 460 MB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.3398, allocations: 32.75 kB / 460 MB, free: 37.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.3398, allocations: 3.062 kB / 460 MB, free: 37.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005625/0.3404, allocations: 185 kB / 460.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.3404, allocations: 56.09 kB / 460.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.3405, allocations: 129.8 kB / 460.4 MB, free: 36.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.3405, allocations: 27.02 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.3406, allocations: 94.62 kB / 460.5 MB, free: 36.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3406, allocations: 8.5 kB / 460.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.3406, allocations: 1.125 kB / 460.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.3407, allocations: 321.5 kB / 460.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3408, allocations: 45.3 kB / 460.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.341, allocations: 47.31 kB / 460.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.3411, allocations: 51.94 kB / 461 MB, free: 36.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3411, allocations: 0 / 461 MB, free: 36.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003111/0.3414, allocations: 138.5 kB / 461.1 MB, free: 36.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3415, allocations: 5.969 kB / 461.1 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3415, allocations: 0 / 461.1 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3415, allocations: 3.953 kB / 461.1 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3416, allocations: 30.83 kB / 461.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3416, allocations: 1.797 kB / 461.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.3417, allocations: 16.55 kB / 461.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3417, allocations: 0 / 461.2 MB, free: 36.5 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.3418, allocations: 122.1 kB / 461.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3418, allocations: 5.688 kB / 461.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.3422, allocations: 137.6 kB / 461.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3422, allocations: 0 / 461.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3422, allocations: 11.2 kB / 461.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3422, allocations: 0 / 461.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.3423, allocations: 177.1 kB / 461.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3424, allocations: 0 / 461.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.3425, allocations: 26.41 kB / 461.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3425, allocations: 3.375 kB / 461.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.3425, allocations: 5.125 kB / 461.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3425, allocations: 2.656 kB / 461.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3425, allocations: 0 / 461.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.3428, allocations: 230.8 kB / 461.9 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.3429, allocations: 79.7 kB / 461.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3429, allocations: 0 / 461.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.343, allocations: 21.48 kB / 462 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.343, allocations: 6.281 kB / 462 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.343, allocations: 2.781 kB / 462 MB, free: 35.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.067e-05/0.3431, allocations: 103.5 kB / 462.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3431, allocations: 0 / 462.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.3433, allocations: 12.75 kB / 462.1 MB, free: 35.82 MB / 382.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 (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.0001253/0.3435, allocations: 100.4 kB / 462.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.3438, allocations: 112.2 kB / 462.3 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3438, allocations: 0 / 462.3 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.344, allocations: 51.34 kB / 462.3 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.3441, allocations: 3.531 kB / 462.3 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.3444, allocations: 152.9 kB / 462.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.3446, allocations: 0.6909 MB / 463.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.3446, allocations: 3.75 kB / 463.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.3447, allocations: 7.438 kB / 463.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3447, allocations: 4 kB / 463.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of Templates: time 0.002685/0.3474, allocations: 0.6463 MB / 463.8 MB, free: 34.86 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: