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.001189/0.001189, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001478/0.001478, allocations: 172.7 kB / 15.95 MB, free: 208 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.78/1.78, allocations: 205.4 MB / 222.1 MB, free: 5.336 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4428/0.4428, allocations: 55.01 MB / 325.4 MB, free: 0.8945 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.0005349/0.0005349, allocations: 19.98 kB / 396.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4029, allocations: 60.71 MB / 457.4 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.001371/0.4043, allocations: 1.168 MB / 458.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002221/0.4045, allocations: 92.83 kB / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.4046, allocations: 3.938 kB / 458.6 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.4046, allocations: 1.969 kB / 458.6 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.4047, allocations: 9.125 kB / 458.6 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.4048, allocations: 18.17 kB / 458.7 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.4049, allocations: 39.41 kB / 458.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.326e-05/0.405, allocations: 11.62 kB / 458.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.405, allocations: 17.25 kB / 458.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.4051, allocations: 18.12 kB / 458.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.4051, allocations: 2.969 kB / 458.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-05/0.4051, allocations: 19.75 kB / 458.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.4052, allocations: 6.562 kB / 458.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.4052, allocations: 37.34 kB / 458.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.442e-05/0.4053, allocations: 38.48 kB / 458.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4053, allocations: 0 / 458.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4053, allocations: 0.75 kB / 458.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.4053, allocations: 0 / 458.8 MB, free: 38.21 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.0003645/0.4057, allocations: 381.5 kB / 459.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.4057, allocations: 10.91 kB / 459.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.4058, allocations: 7.469 kB / 459.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.4059, allocations: 179.9 kB / 459.4 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.4059, allocations: 6.688 kB / 459.4 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.4059, allocations: 0.7812 kB / 459.4 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.4061, allocations: 88.3 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.4061, allocations: 0.8906 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.4061, allocations: 3.719 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.4062, allocations: 0.5625 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.4064, allocations: 96.89 kB / 459.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.4067, allocations: 286.1 kB / 459.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.4069, allocations: 82.25 kB / 460 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.4071, allocations: 54.91 kB / 460 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.4073, allocations: 109.5 kB / 460.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4073, allocations: 30.56 kB / 460.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4073, allocations: 0.8438 kB / 460.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004738/0.4078, allocations: 184.8 kB / 460.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.4078, allocations: 52.41 kB / 460.4 MB, free: 37.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.209e-05/0.4079, allocations: 128.5 kB / 460.5 MB, free: 36.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.4079, allocations: 34.14 kB / 460.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.408, allocations: 87.44 kB / 460.6 MB, free: 36.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.408, allocations: 15.5 kB / 460.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.408, allocations: 1.031 kB / 460.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.4081, allocations: 318.1 kB / 461 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4082, allocations: 51.89 kB / 461 MB, free: 36.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4083, allocations: 49.22 kB / 461.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4085, allocations: 46.8 kB / 461.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4085, allocations: 0 / 461.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000269/0.4087, allocations: 136.8 kB / 461.2 MB, free: 36.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.4088, allocations: 3.438 kB / 461.2 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.4088, allocations: 0 / 461.2 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4088, allocations: 7.953 kB / 461.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4089, allocations: 25.7 kB / 461.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4089, allocations: 0 / 461.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.409, allocations: 18.69 kB / 461.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.409, allocations: 0 / 461.3 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.341e-05/0.4091, allocations: 125.8 kB / 461.4 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.4091, allocations: 7.062 kB / 461.4 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.4094, allocations: 136.3 kB / 461.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4094, allocations: 3.953 kB / 461.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4095, allocations: 0 / 461.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-06/0.4095, allocations: 2.812 kB / 461.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.4096, allocations: 179.7 kB / 461.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4096, allocations: 3.344 kB / 461.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.4097, allocations: 22.05 kB / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.4097, allocations: 3.375 kB / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.4097, allocations: 0.875 kB / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4097, allocations: 0 / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4097, allocations: 7.016 kB / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.41, allocations: 230 kB / 462 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.4101, allocations: 79.86 kB / 462.1 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.4101, allocations: 0 / 462.1 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.4102, allocations: 19.16 kB / 462.1 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4102, allocations: 11.97 kB / 462.1 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4103, allocations: 6.203 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.4103, allocations: 99.59 kB / 462.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4103, allocations: 1.219 kB / 462.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.4105, allocations: 16.53 kB / 462.2 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.0001114/0.4106, allocations: 110.2 kB / 462.3 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.4109, allocations: 102.8 kB / 462.4 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.411, allocations: 0 / 462.4 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.4111, allocations: 50.64 kB / 462.5 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.4114, allocations: 8.438 kB / 462.5 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.4117, allocations: 157.5 kB / 462.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.4119, allocations: 0.6907 MB / 463.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.133e-05/0.4119, allocations: 1.328 kB / 463.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.4119, allocations: 11.44 kB / 463.3 MB, free: 34.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4119, allocations: 0 / 463.3 MB, free: 34.88 MB / 382.1 MB Notification: Performance of Templates: time 0.003141/0.4151, allocations: 0.647 MB / 464 MB, free: 34.85 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: