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.008965/0.008965, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001442/0.001442, 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.661/1.661, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2777/0.2777, allocations: 54.96 MB / 324.9 MB, free: 4.836 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.001466/0.001466, allocations: 75.84 kB / 456.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1363, allocations: 59.59 MB / 0.5037 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.QuadraticLinear): time 0.002643/0.139, allocations: 1.452 MB / 0.5051 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.1394, allocations: 103.7 kB / 0.5052 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.1394, allocations: 0 / 0.5052 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.111e-05/0.1395, allocations: 0 / 0.5052 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.1396, allocations: 15.86 kB / 0.5052 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1399, allocations: 15.98 kB / 0.5053 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.632e-05/0.14, allocations: 51.78 kB / 0.5053 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1401, allocations: 4 kB / 0.5053 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.827e-05/0.1401, allocations: 19.92 kB / 0.5053 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.1402, allocations: 31.89 kB / 0.5054 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1402, allocations: 4 kB / 0.5054 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-05/0.1403, allocations: 19.98 kB / 0.5054 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.1404, allocations: 11.98 kB / 0.5054 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1404, allocations: 23.81 kB / 0.5054 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1406, allocations: 59.84 kB / 0.5055 GB, free: 5.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1406, allocations: 0 / 0.5055 GB, free: 5.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1406, allocations: 0 / 0.5055 GB, free: 5.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1406, allocations: 0 / 0.5055 GB, free: 5.258 MB / 398.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.0005405/0.1411, allocations: 383.1 kB / 0.5058 GB, free: 4.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1412, allocations: 15.91 kB / 0.5058 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1412, allocations: 4.938 kB / 0.5059 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1414, allocations: 179.3 kB / 0.506 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1414, allocations: 384 / 0.506 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1414, allocations: 4.375 kB / 0.506 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.1416, allocations: 73.59 kB / 0.5061 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1417, allocations: 4 kB / 0.5061 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.1417, allocations: 0 / 0.5061 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1417, allocations: 4 kB / 0.5061 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.142, allocations: 75.91 kB / 0.5062 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.1424, allocations: 284.8 kB / 0.5065 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1426, allocations: 74.47 kB / 0.5065 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1428, allocations: 44.91 kB / 0.5066 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.143, allocations: 109.1 kB / 0.5067 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.143, allocations: 34.56 kB / 0.5067 GB, free: 3.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.143, allocations: 0 / 0.5067 GB, free: 3.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005599/0.1436, allocations: 149.4 kB / 0.5068 GB, free: 3.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1437, allocations: 51.41 kB / 0.5069 GB, free: 3.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1438, allocations: 141.8 kB / 0.507 GB, free: 3.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1438, allocations: 25.7 kB / 0.5071 GB, free: 3.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.1439, allocations: 84.14 kB / 0.5071 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1439, allocations: 15.89 kB / 0.5071 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.1439, allocations: 13.72 kB / 0.5072 GB, free: 3.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.144, allocations: 318.8 kB / 0.5075 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1442, allocations: 39.95 kB / 0.5075 GB, free: 2.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1443, allocations: 39.95 kB / 0.5075 GB, free: 2.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.1446, allocations: 72.78 kB / 0.5076 GB, free: 2.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1446, allocations: 0 / 0.5076 GB, free: 2.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003289/0.145, allocations: 117.8 kB / 0.5077 GB, free: 2.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.145, allocations: 8 kB / 0.5077 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.145, allocations: 3.984 kB / 0.5077 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.145, allocations: 0 / 0.5077 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1451, allocations: 19.97 kB / 0.5078 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1452, allocations: 0 / 0.5078 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.1452, allocations: 11.98 kB / 0.5078 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1453, allocations: 4 kB / 0.5078 GB, free: 2.66 MB / 398.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 8.069e-05/0.1453, allocations: 121.7 kB / 0.5079 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1454, allocations: 7.891 kB / 0.5079 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.1457, allocations: 113.5 kB / 0.508 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1458, allocations: 11.94 kB / 0.508 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1458, allocations: 4 kB / 0.508 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1458, allocations: 0 / 0.508 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.146, allocations: 185.5 kB / 0.5082 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.146, allocations: 0 / 0.5082 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.1461, allocations: 15.98 kB / 0.5082 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1461, allocations: 0 / 0.5082 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1461, allocations: 3.984 kB / 0.5082 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1461, allocations: 4 kB / 0.5082 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1461, allocations: 0 / 0.5082 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.1465, allocations: 203.4 kB / 0.5084 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.1465, allocations: 88.94 kB / 0.5085 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1465, allocations: 4 kB / 0.5085 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1467, allocations: 7.984 kB / 0.5085 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1467, allocations: 4 kB / 0.5085 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1467, allocations: 8 kB / 0.5085 GB, free: 1.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.205e-05/0.1468, allocations: 103.2 kB / 0.5086 GB, free: 1.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1468, allocations: 0 / 0.5086 GB, free: 1.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.147, allocations: 12 kB / 0.5086 GB, free: 1.672 MB / 398.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.000143/0.1472, allocations: 103.2 kB / 0.5087 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.1476, allocations: 83.91 kB / 0.5088 GB, free: 1.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1476, allocations: 4 kB / 0.5088 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1478, allocations: 35.97 kB / 0.5088 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.148, allocations: 4 kB / 0.5088 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.1484, allocations: 167.9 kB / 0.509 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1486, allocations: 0.6846 MB / 0.5097 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.082e-05/0.1487, allocations: 4 kB / 0.5097 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.1487, allocations: 11.42 kB / 0.5097 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1487, allocations: 0 / 0.5097 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of Templates: time 0.003112/0.1518, allocations: 0.7963 MB / 0.5105 GB, free: 15.73 MB / 414.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)