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.001166/0.001166, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00118/0.001181, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.566/1.566, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.418/0.418, allocations: 54.92 MB / 324.4 MB, free: 140 kB / 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.001481/0.001481, allocations: 71.89 kB / 394.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.153, allocations: 59.59 MB / 454.4 MB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.286/0.4391, allocations: 1.514 MB / 456 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000333/0.4394, allocations: 89.17 kB / 456 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.4396, allocations: 0 / 456 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.389e-05/0.4397, allocations: 6.141 kB / 456 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.4397, allocations: 11.7 kB / 456.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.44, allocations: 18.66 kB / 456.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.4401, allocations: 43.55 kB / 456.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4402, allocations: 10.89 kB / 456.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.4403, allocations: 18.56 kB / 456.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.4404, allocations: 23.59 kB / 456.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.4404, allocations: 8.438 kB / 456.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.4405, allocations: 17.02 kB / 456.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.4405, allocations: 19.62 kB / 456.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.4406, allocations: 22.38 kB / 456.2 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.4407, allocations: 56.48 kB / 456.3 MB, free: 39.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4407, allocations: 0 / 456.3 MB, free: 39.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4407, allocations: 0.875 kB / 456.3 MB, free: 39.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.4407, allocations: 0 / 456.3 MB, free: 39.07 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.0004689/0.4412, allocations: 377 kB / 456.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4412, allocations: 12.41 kB / 456.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.4413, allocations: 7.719 kB / 456.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4414, allocations: 178.4 kB / 456.9 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4415, allocations: 5.047 kB / 456.9 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.4415, allocations: 2.344 kB / 456.9 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.4417, allocations: 81.77 kB / 456.9 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4418, allocations: 0 / 456.9 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4418, allocations: 1.5 kB / 456.9 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4418, allocations: 4.5 kB / 456.9 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.4421, allocations: 76.75 kB / 457 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.4424, allocations: 290.8 kB / 457.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4426, allocations: 62.36 kB / 457.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.4428, allocations: 45.05 kB / 457.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.443, allocations: 109.7 kB / 457.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.4431, allocations: 35.94 kB / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4431, allocations: 0 / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005006/0.4436, allocations: 151.5 kB / 457.7 MB, free: 38.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.4436, allocations: 52.31 kB / 457.8 MB, free: 37.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.4437, allocations: 126.6 kB / 457.9 MB, free: 37.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.4437, allocations: 26.73 kB / 457.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.4438, allocations: 93.34 kB / 458 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.4438, allocations: 18.69 kB / 458 MB, free: 37.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.4438, allocations: 16.16 kB / 458 MB, free: 37.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.4439, allocations: 324.8 kB / 458.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.444, allocations: 35.66 kB / 458.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4441, allocations: 36.3 kB / 458.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.4444, allocations: 84.19 kB / 458.5 MB, free: 37.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4444, allocations: 0 / 458.5 MB, free: 37.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002855/0.4447, allocations: 111.2 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4447, allocations: 3.875 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.4447, allocations: 2.75 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4447, allocations: 0 / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.4449, allocations: 19.05 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4449, allocations: 0 / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.445, allocations: 16 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.445, allocations: 0 / 458.6 MB, free: 37.35 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.174e-05/0.445, allocations: 120.6 kB / 458.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.4451, allocations: 11.59 kB / 458.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.4454, allocations: 121 kB / 458.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4454, allocations: 0.75 kB / 458.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4454, allocations: 0.5 kB / 458.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4454, allocations: 2.938 kB / 458.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.4456, allocations: 181.9 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4456, allocations: 0.5 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.4457, allocations: 19.7 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4457, allocations: 3 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.4457, allocations: 4.031 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4458, allocations: 2.594 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4458, allocations: 0 / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.4461, allocations: 216.5 kB / 459.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.4462, allocations: 81.62 kB / 459.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.4462, allocations: 3.516 kB / 459.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.4463, allocations: 11.62 kB / 459.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4463, allocations: 3.188 kB / 459.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.4464, allocations: 3.375 kB / 459.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.4464, allocations: 100.3 kB / 459.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4464, allocations: 0 / 459.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.4467, allocations: 16.66 kB / 459.5 MB, free: 36.68 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.0001635/0.4468, allocations: 101.2 kB / 459.6 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.4472, allocations: 86.53 kB / 459.7 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4472, allocations: 0.5625 kB / 459.7 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.4473, allocations: 41.97 kB / 459.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.4476, allocations: 8.875 kB / 459.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.4479, allocations: 160.4 kB / 459.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.4481, allocations: 0.688 MB / 460.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.217e-05/0.4481, allocations: 3.047 kB / 460.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.4481, allocations: 14.94 kB / 460.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4481, allocations: 0 / 460.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of Templates: time 0.002578/0.4507, allocations: 0.6816 MB / 461.3 MB, free: 35.73 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)