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.001461/0.001461, allocations: 108 kB / 15.6 MB, free: 132 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.001264/0.001265, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.409/0.409, allocations: 54.94 MB / 324.7 MB, free: 15.98 MB / 270.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.001754/0.001754, allocations: 71.91 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1551, allocations: 59.59 MB / 454.9 MB, free: 200 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.3243/0.4794, allocations: 1.451 MB / 456.4 MB, free: 39.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.4798, allocations: 97.17 kB / 456.5 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.4799, allocations: 0 / 456.5 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.48, allocations: 3.141 kB / 456.5 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.4801, allocations: 11.22 kB / 456.5 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.4803, allocations: 19.67 kB / 456.5 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.4804, allocations: 48.69 kB / 456.5 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.4805, allocations: 11.89 kB / 456.6 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.4806, allocations: 19.48 kB / 456.6 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.4807, allocations: 20.41 kB / 456.6 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4807, allocations: 8.266 kB / 456.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.4808, allocations: 23.08 kB / 456.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.4808, allocations: 10.44 kB / 456.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.4809, allocations: 21.19 kB / 456.7 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.481, allocations: 55.44 kB / 456.7 MB, free: 39.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.481, allocations: 0.7188 kB / 456.7 MB, free: 39.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.481, allocations: 2.906 kB / 456.7 MB, free: 39.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.481, allocations: 1.562 kB / 456.7 MB, free: 39.24 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.0005266/0.4816, allocations: 376.4 kB / 457.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4816, allocations: 11.41 kB / 457.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.4817, allocations: 7.781 kB / 457.1 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.4818, allocations: 180.7 kB / 457.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.4818, allocations: 1.844 kB / 457.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.4818, allocations: 4.766 kB / 457.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.4821, allocations: 86.16 kB / 457.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4821, allocations: 0 / 457.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4821, allocations: 0 / 457.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4821, allocations: 0 / 457.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.4824, allocations: 71.73 kB / 457.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.4828, allocations: 291.2 kB / 457.7 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.483, allocations: 73.11 kB / 457.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4832, allocations: 39.95 kB / 457.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.4835, allocations: 110.2 kB / 457.9 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.4836, allocations: 39.06 kB / 458 MB, free: 38.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4836, allocations: 0 / 458 MB, free: 38.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005412/0.4841, allocations: 148.1 kB / 458.1 MB, free: 38.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.4842, allocations: 51.41 kB / 458.2 MB, free: 38.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.4843, allocations: 129.5 kB / 458.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.4843, allocations: 25.7 kB / 458.3 MB, free: 37.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.4843, allocations: 94.53 kB / 458.4 MB, free: 37.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.4844, allocations: 14.59 kB / 458.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.4844, allocations: 16.94 kB / 458.5 MB, free: 37.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.4845, allocations: 326.2 kB / 458.8 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4846, allocations: 35.23 kB / 458.8 MB, free: 37.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.4848, allocations: 39.2 kB / 458.8 MB, free: 37.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.4851, allocations: 79.44 kB / 458.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4851, allocations: 0 / 458.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003028/0.4854, allocations: 109 kB / 459 MB, free: 37.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4854, allocations: 7.125 kB / 459 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4854, allocations: 0.5 kB / 459 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4854, allocations: 1.406 kB / 459 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4856, allocations: 18.3 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4856, allocations: 0 / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.4857, allocations: 12.27 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.4857, allocations: 0 / 459.1 MB, free: 37.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.4857, allocations: 123.1 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.4858, allocations: 9.344 kB / 459.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.4861, allocations: 123.5 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.4861, allocations: 0 / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4862, allocations: 0 / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4862, allocations: 3.156 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.4863, allocations: 178.8 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4863, allocations: 3.031 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.4864, allocations: 17.55 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4864, allocations: 0 / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4864, allocations: 11.27 kB / 459.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4864, allocations: 0.875 kB / 459.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4865, allocations: 1.734 kB / 459.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.4868, allocations: 214 kB / 459.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.4869, allocations: 81.02 kB / 459.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.4869, allocations: 6.75 kB / 459.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.487, allocations: 11.27 kB / 459.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.487, allocations: 3 kB / 459.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.487, allocations: 0 / 459.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.4871, allocations: 108.4 kB / 459.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4871, allocations: 4.375 kB / 459.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.4873, allocations: 9.188 kB / 460 MB, free: 36.85 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 (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.0001409/0.4875, allocations: 98.11 kB / 460.1 MB, free: 36.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4878, allocations: 87.14 kB / 460.1 MB, free: 36.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4878, allocations: 1.812 kB / 460.1 MB, free: 36.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.488, allocations: 38.33 kB / 460.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4883, allocations: 7.281 kB / 460.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.4886, allocations: 156.4 kB / 460.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.4888, allocations: 0.6868 MB / 461 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.942e-05/0.4888, allocations: 0 / 461 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.4888, allocations: 14.19 kB / 461 MB, free: 35.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4888, allocations: 0 / 461 MB, free: 35.95 MB / 382.1 MB Notification: Performance of Templates: time 0.003474/0.4923, allocations: 0.7891 MB / 461.8 MB, free: 35.9 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.makefile (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)