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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001107/0.001107, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.556/1.556, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4415/0.4415, allocations: 54.93 MB / 324.3 MB, free: 176 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.001739/0.001739, allocations: 64.36 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1821, allocations: 59.59 MB / 454.3 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.3315/0.5136, allocations: 1.516 MB / 455.8 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003403/0.514, allocations: 99.36 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.5141, allocations: 0.6562 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.5142, allocations: 1.406 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.5142, allocations: 10.12 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.5144, allocations: 13.2 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.5145, allocations: 47.03 kB / 456 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.5146, allocations: 9.734 kB / 456 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.5147, allocations: 19.84 kB / 456 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.5147, allocations: 16.31 kB / 456 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.5148, allocations: 2.531 kB / 456 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.5148, allocations: 23.16 kB / 456 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.5149, allocations: 13.45 kB / 456.1 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.5149, allocations: 18.44 kB / 456.1 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.5151, allocations: 58.92 kB / 456.1 MB, free: 39.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5151, allocations: 0 / 456.1 MB, free: 39.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.5151, allocations: 0.9688 kB / 456.1 MB, free: 39.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.5151, allocations: 1.312 kB / 456.1 MB, free: 39.13 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.0004824/0.5156, allocations: 378.3 kB / 456.5 MB, free: 38.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5156, allocations: 14.61 kB / 456.5 MB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.5157, allocations: 7.469 kB / 456.5 MB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.738e-05/0.5158, allocations: 173.5 kB / 456.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.5158, allocations: 4.531 kB / 456.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.5158, allocations: 3.594 kB / 456.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.5161, allocations: 82.02 kB / 456.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.5161, allocations: 0 / 456.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5161, allocations: 0 / 456.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5161, allocations: 1.375 kB / 456.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.5164, allocations: 78.89 kB / 456.9 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.5168, allocations: 286.7 kB / 457.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.517, allocations: 70.19 kB / 457.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.5171, allocations: 43.92 kB / 457.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.5174, allocations: 105.1 kB / 457.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.5175, allocations: 42.88 kB / 457.4 MB, free: 38.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5175, allocations: 0 / 457.4 MB, free: 38.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005517/0.518, allocations: 147.1 kB / 457.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.5181, allocations: 55.78 kB / 457.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.5182, allocations: 129.5 kB / 457.7 MB, free: 37.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.5182, allocations: 25.7 kB / 457.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.5182, allocations: 92.33 kB / 457.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.5182, allocations: 14.56 kB / 457.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.5183, allocations: 13.11 kB / 457.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.5183, allocations: 324 kB / 458.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.5185, allocations: 36.64 kB / 458.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.5186, allocations: 39.17 kB / 458.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.5189, allocations: 80.41 kB / 458.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5189, allocations: 0 / 458.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003036/0.5192, allocations: 113.3 kB / 458.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5192, allocations: 5.844 kB / 458.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5193, allocations: 0 / 458.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5193, allocations: 1.312 kB / 458.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5194, allocations: 17.73 kB / 458.5 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5194, allocations: 1.406 kB / 458.5 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.5195, allocations: 13.89 kB / 458.5 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.5195, allocations: 1.281 kB / 458.5 MB, free: 37.41 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.986e-05/0.5196, allocations: 119.7 kB / 458.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.5196, allocations: 7.75 kB / 458.6 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.52, allocations: 123.3 kB / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.52, allocations: 0 / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.52, allocations: 0 / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.52, allocations: 0.7031 kB / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.5202, allocations: 187.9 kB / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5202, allocations: 0 / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.304e-05/0.5203, allocations: 17.22 kB / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5203, allocations: 5 kB / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5203, allocations: 3.562 kB / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5203, allocations: 2.969 kB / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5203, allocations: 0.5 kB / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.5206, allocations: 212.2 kB / 459.1 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.5207, allocations: 83.86 kB / 459.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.5207, allocations: 0.625 kB / 459.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.5208, allocations: 14.12 kB / 459.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.5209, allocations: 6.656 kB / 459.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.5209, allocations: 4.094 kB / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.5209, allocations: 104.4 kB / 459.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5209, allocations: 0 / 459.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.5212, allocations: 10.53 kB / 459.4 MB, free: 36.75 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.0001372/0.5213, allocations: 107.1 kB / 459.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.5216, allocations: 77.41 kB / 459.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5217, allocations: 0.5625 kB / 459.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.5218, allocations: 42.86 kB / 459.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.5221, allocations: 11.78 kB / 459.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.5224, allocations: 158.2 kB / 459.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.5225, allocations: 0.6903 MB / 460.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.5225, allocations: 7.406 kB / 460.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.5226, allocations: 10.03 kB / 460.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5226, allocations: 4 kB / 460.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002908/0.5255, allocations: 0.6637 MB / 461.1 MB, free: 35.79 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)