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.00871/0.00871, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001694/0.001694, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.508/1.508, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3971/0.3971, allocations: 54.95 MB / 324.9 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.001481/0.001481, allocations: 68.11 kB / 456.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1497, allocations: 59.59 MB / 0.5037 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.002354/0.1521, allocations: 1.444 MB / 0.5051 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.1524, allocations: 100.4 kB / 0.5052 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.1525, allocations: 0 / 0.5052 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.1525, allocations: 3.938 kB / 0.5052 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.1526, allocations: 6.688 kB / 0.5052 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1528, allocations: 25.41 kB / 0.5053 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.1529, allocations: 49.7 kB / 0.5053 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.153, allocations: 12.12 kB / 0.5053 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.153, allocations: 14.86 kB / 0.5053 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.1531, allocations: 25.36 kB / 0.5053 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1531, allocations: 4.125 kB / 0.5054 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.786e-05/0.1532, allocations: 18.98 kB / 0.5054 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.1532, allocations: 12.11 kB / 0.5054 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.1533, allocations: 19.98 kB / 0.5054 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.1534, allocations: 60.3 kB / 0.5055 GB, free: 8.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1534, allocations: 0 / 0.5055 GB, free: 8.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1534, allocations: 5.312 kB / 0.5055 GB, free: 8.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1534, allocations: 7.938 kB / 0.5055 GB, free: 8.375 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.0004518/0.1539, allocations: 374.8 kB / 0.5058 GB, free: 7.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1539, allocations: 9.625 kB / 0.5058 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.154, allocations: 7.594 kB / 0.5058 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.1541, allocations: 176.4 kB / 0.506 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1541, allocations: 1.75 kB / 0.506 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1541, allocations: 1.75 kB / 0.506 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1543, allocations: 86.27 kB / 0.5061 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1544, allocations: 0 / 0.5061 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1544, allocations: 5.25 kB / 0.5061 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1544, allocations: 0 / 0.5061 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.1547, allocations: 75.58 kB / 0.5062 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.155, allocations: 297.1 kB / 0.5065 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1552, allocations: 64.28 kB / 0.5065 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.1554, allocations: 39.64 kB / 0.5066 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.1556, allocations: 110.7 kB / 0.5067 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1556, allocations: 35.86 kB / 0.5067 GB, free: 7.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1556, allocations: 0 / 0.5067 GB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000508/0.1561, allocations: 151.1 kB / 0.5068 GB, free: 7.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.1562, allocations: 51.41 kB / 0.5069 GB, free: 7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.1563, allocations: 128.7 kB / 0.507 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.1563, allocations: 25.7 kB / 0.507 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.1563, allocations: 98.78 kB / 0.5071 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.1564, allocations: 9.281 kB / 0.5071 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.1564, allocations: 16.5 kB / 0.5072 GB, free: 6.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.1564, allocations: 325 kB / 0.5075 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1566, allocations: 37.48 kB / 0.5075 GB, free: 6.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1567, allocations: 36.78 kB / 0.5075 GB, free: 6.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.157, allocations: 80.03 kB / 0.5076 GB, free: 6.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.157, allocations: 4 kB / 0.5076 GB, free: 6.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002871/0.1573, allocations: 109.6 kB / 0.5077 GB, free: 6.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1573, allocations: 5.75 kB / 0.5077 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1573, allocations: 3.984 kB / 0.5077 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1573, allocations: 1.188 kB / 0.5077 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1574, allocations: 14.42 kB / 0.5077 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1574, allocations: 4 kB / 0.5077 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.1575, allocations: 19.53 kB / 0.5078 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1575, allocations: 1.875 kB / 0.5078 GB, free: 6.242 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.812e-05/0.1576, allocations: 112.1 kB / 0.5079 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1576, allocations: 6.484 kB / 0.5079 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.158, allocations: 133.8 kB / 0.508 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.158, allocations: 5.312 kB / 0.508 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.158, allocations: 0 / 0.508 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.158, allocations: 3.938 kB / 0.508 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.1581, allocations: 180.2 kB / 0.5082 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1582, allocations: 0 / 0.5082 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.1582, allocations: 15.73 kB / 0.5082 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1583, allocations: 0 / 0.5082 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1583, allocations: 0 / 0.5082 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1583, allocations: 5.625 kB / 0.5082 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1583, allocations: 0 / 0.5082 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.1586, allocations: 208.6 kB / 0.5084 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.1586, allocations: 82.39 kB / 0.5085 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1586, allocations: 1.375 kB / 0.5085 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1587, allocations: 22.84 kB / 0.5085 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.1588, allocations: 5.375 kB / 0.5085 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1588, allocations: 1.375 kB / 0.5085 GB, free: 5.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.485e-05/0.1589, allocations: 95.64 kB / 0.5086 GB, free: 5.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1589, allocations: 0 / 0.5086 GB, free: 5.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1591, allocations: 13.62 kB / 0.5086 GB, free: 5.422 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.00011/0.1592, allocations: 103.7 kB / 0.5087 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.1595, allocations: 78.67 kB / 0.5088 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1595, allocations: 0 / 0.5088 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1597, allocations: 48.55 kB / 0.5088 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.1599, allocations: 3.656 kB / 0.5088 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.1602, allocations: 158.3 kB / 0.509 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.1604, allocations: 0.6865 MB / 0.5097 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.608e-05/0.1604, allocations: 2.625 kB / 0.5097 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.1604, allocations: 13.75 kB / 0.5097 GB, free: 4.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1604, allocations: 0 / 0.5097 GB, free: 4.414 MB / 382.1 MB Notification: Performance of Templates: time 0.002824/0.1633, allocations: 0.8174 MB / 0.5105 GB, free: 3.672 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)