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.01012/0.01012, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001803/0.001803, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.528/1.528, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4034/0.4034, allocations: 54.95 MB / 324.8 MB, free: 15.97 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.001507/0.001507, allocations: 73.73 kB / 456.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1471, allocations: 59.59 MB / 0.5037 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.002359/0.1495, allocations: 1.45 MB / 0.5051 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.1498, allocations: 90.31 kB / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.1498, allocations: 1.031 kB / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.1499, allocations: 11.86 kB / 0.5052 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.1499, allocations: 9.922 kB / 0.5052 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.1502, allocations: 29.56 kB / 0.5053 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.1503, allocations: 37.14 kB / 0.5053 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1504, allocations: 14.05 kB / 0.5053 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.1504, allocations: 17.67 kB / 0.5053 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.1505, allocations: 24.77 kB / 0.5053 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1505, allocations: 4.531 kB / 0.5054 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-05/0.1506, allocations: 19.7 kB / 0.5054 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1507, allocations: 14.92 kB / 0.5054 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.1507, allocations: 24.48 kB / 0.5054 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1508, allocations: 64.23 kB / 0.5055 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1508, allocations: 1.594 kB / 0.5055 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1509, allocations: 0 / 0.5055 GB, free: 8.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1509, allocations: 0 / 0.5055 GB, free: 8.277 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.0004874/0.1514, allocations: 374.8 kB / 0.5058 GB, free: 7.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1514, allocations: 8.812 kB / 0.5058 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1514, allocations: 8.125 kB / 0.5058 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.1515, allocations: 176.3 kB / 0.506 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1516, allocations: 5.906 kB / 0.506 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1516, allocations: 1.469 kB / 0.506 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1519, allocations: 83.36 kB / 0.5061 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1519, allocations: 4 kB / 0.5061 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1519, allocations: 3.984 kB / 0.5061 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1519, allocations: 1.375 kB / 0.5061 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.1522, allocations: 74.55 kB / 0.5062 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1526, allocations: 289.2 kB / 0.5065 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.1528, allocations: 68.78 kB / 0.5065 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.153, allocations: 40.3 kB / 0.5066 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.1532, allocations: 107.1 kB / 0.5067 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1533, allocations: 42.5 kB / 0.5067 GB, free: 7.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.1533, allocations: 0 / 0.5067 GB, free: 7.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006243/0.1539, allocations: 139.7 kB / 0.5068 GB, free: 6.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.154, allocations: 59.34 kB / 0.5069 GB, free: 6.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1541, allocations: 125.1 kB / 0.507 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1541, allocations: 31.08 kB / 0.507 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.1542, allocations: 94.78 kB / 0.5071 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1542, allocations: 13.22 kB / 0.5071 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.1542, allocations: 12.47 kB / 0.5072 GB, free: 6.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.1543, allocations: 324.1 kB / 0.5075 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1545, allocations: 37.97 kB / 0.5075 GB, free: 6.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1546, allocations: 36.58 kB / 0.5075 GB, free: 6.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1549, allocations: 79.34 kB / 0.5076 GB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1549, allocations: 0 / 0.5076 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.1552, allocations: 119 kB / 0.5077 GB, free: 6.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1553, allocations: 8.062 kB / 0.5077 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1553, allocations: 1.375 kB / 0.5077 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1553, allocations: 0 / 0.5077 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1554, allocations: 14.98 kB / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1554, allocations: 0 / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.1555, allocations: 10.86 kB / 0.5078 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1555, allocations: 5.375 kB / 0.5078 GB, free: 6.148 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.464e-05/0.1556, allocations: 121.9 kB / 0.5079 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1556, allocations: 2.75 kB / 0.5079 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.156, allocations: 120.1 kB / 0.508 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.156, allocations: 1.375 kB / 0.508 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.156, allocations: 4 kB / 0.508 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.156, allocations: 1.375 kB / 0.508 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1562, allocations: 179.3 kB / 0.5082 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1562, allocations: 0 / 0.5082 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.1563, allocations: 19.34 kB / 0.5082 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1563, allocations: 0 / 0.5082 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1563, allocations: 5.375 kB / 0.5082 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1563, allocations: 0 / 0.5082 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1563, allocations: 0 / 0.5082 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1567, allocations: 218 kB / 0.5084 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.1567, allocations: 82.23 kB / 0.5085 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1568, allocations: 5.344 kB / 0.5085 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1569, allocations: 10.27 kB / 0.5085 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1569, allocations: 5.328 kB / 0.5085 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1569, allocations: 5.219 kB / 0.5085 GB, free: 5.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.9e-05/0.157, allocations: 104 kB / 0.5086 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.157, allocations: 0 / 0.5086 GB, free: 5.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1572, allocations: 10.19 kB / 0.5086 GB, free: 5.332 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.0001186/0.1573, allocations: 100 kB / 0.5087 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.1577, allocations: 94.06 kB / 0.5088 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1577, allocations: 0 / 0.5088 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.1579, allocations: 36.28 kB / 0.5088 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1581, allocations: 11.11 kB / 0.5088 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.1585, allocations: 159.1 kB / 0.509 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.1586, allocations: 0.6944 MB / 0.5097 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.1587, allocations: 1.375 kB / 0.5097 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.1587, allocations: 10.12 kB / 0.5097 GB, free: 4.312 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1587, allocations: 0 / 0.5097 GB, free: 4.312 MB / 382.1 MB Notification: Performance of Templates: time 0.003005/0.1617, allocations: 0.7951 MB / 0.5105 GB, free: 3.688 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)