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.001159/0.001159, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008273/0.008273, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.75/1.75, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4199/0.4199, allocations: 55.02 MB / 325.8 MB, free: 0.6055 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.0005623/0.0005623, allocations: 16 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.446, allocations: 60.71 MB / 458 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.001631/0.4477, allocations: 1.188 MB / 459.2 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.448, allocations: 90.75 kB / 459.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.448, allocations: 0 / 459.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.4481, allocations: 7.844 kB / 459.3 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.4481, allocations: 8.688 kB / 459.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.4483, allocations: 22 kB / 459.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.4484, allocations: 36.81 kB / 459.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.4485, allocations: 10.61 kB / 459.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.4486, allocations: 16.8 kB / 459.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.4486, allocations: 23.02 kB / 459.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.4487, allocations: 2.906 kB / 459.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.16e-05/0.4487, allocations: 23.31 kB / 459.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.4488, allocations: 14.25 kB / 459.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.4489, allocations: 40.3 kB / 459.4 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.449, allocations: 56.97 kB / 459.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.449, allocations: 0 / 459.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.368e-06/0.449, allocations: 0.8438 kB / 459.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.449, allocations: 3.938 kB / 459.5 MB, free: 38.3 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.0005398/0.4496, allocations: 378.6 kB / 459.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4496, allocations: 9.844 kB / 459.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.4497, allocations: 10.44 kB / 459.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.659e-05/0.4498, allocations: 175.1 kB / 460.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.4498, allocations: 0.9688 kB / 460.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.4498, allocations: 7.531 kB / 460.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.4501, allocations: 94.09 kB / 460.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4501, allocations: 0 / 460.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4501, allocations: 7.875 kB / 460.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4501, allocations: 0 / 460.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.4504, allocations: 94.31 kB / 460.3 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.4508, allocations: 290.8 kB / 460.6 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.451, allocations: 74.08 kB / 460.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.4512, allocations: 57.39 kB / 460.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.4515, allocations: 109.5 kB / 460.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4515, allocations: 35.59 kB / 460.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4515, allocations: 0 / 460.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005455/0.452, allocations: 175.3 kB / 461 MB, free: 37.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.4521, allocations: 57.59 kB / 461.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.4522, allocations: 125.4 kB / 461.2 MB, free: 37.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.4522, allocations: 32.55 kB / 461.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.4522, allocations: 92.11 kB / 461.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.4522, allocations: 12.72 kB / 461.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.4523, allocations: 13.05 kB / 461.3 MB, free: 36.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.4523, allocations: 321.4 kB / 461.6 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4525, allocations: 49.45 kB / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.4526, allocations: 50.55 kB / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.4529, allocations: 102.6 kB / 461.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4529, allocations: 0 / 461.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003183/0.4533, allocations: 135.2 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4533, allocations: 5.438 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4533, allocations: 0 / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4533, allocations: 0 / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.4534, allocations: 24.91 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4534, allocations: 7.938 kB / 462 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.4535, allocations: 14.38 kB / 462 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.4535, allocations: 0 / 462 MB, free: 36.56 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 5.872e-05/0.4536, allocations: 126.6 kB / 462.1 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.4536, allocations: 3.031 kB / 462.1 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.454, allocations: 141.1 kB / 462.3 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.454, allocations: 4 kB / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.454, allocations: 0 / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.454, allocations: 0 / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.4542, allocations: 189 kB / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4542, allocations: 0 / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.4543, allocations: 22.94 kB / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4543, allocations: 0.7031 kB / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.4543, allocations: 3.719 kB / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4543, allocations: 0 / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4543, allocations: 4.781 kB / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.4547, allocations: 231.6 kB / 462.7 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.4547, allocations: 84.53 kB / 462.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.4547, allocations: 3.328 kB / 462.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4548, allocations: 16.52 kB / 462.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.4549, allocations: 6.969 kB / 462.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.4549, allocations: 4 kB / 462.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.4549, allocations: 103.4 kB / 462.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4549, allocations: 0 / 462.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.4552, allocations: 10.41 kB / 462.9 MB, free: 35.88 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.0001249/0.4553, allocations: 97.84 kB / 463 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.4557, allocations: 111 kB / 463.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4557, allocations: 4 kB / 463.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.4558, allocations: 56.03 kB / 463.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.4561, allocations: 4.953 kB / 463.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.4564, allocations: 163.8 kB / 463.4 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.4566, allocations: 0.6923 MB / 464.1 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.834e-05/0.4566, allocations: 6.25 kB / 464.1 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.4566, allocations: 10.03 kB / 464.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4566, allocations: 0 / 464.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of Templates: time 0.002687/0.4593, allocations: 0.6617 MB / 464.7 MB, free: 34.9 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: