Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7504/0.7504, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 403.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 107.5 kB / 484.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009566/0.0009566, allocations: 51.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1435, allocations: 80.21 MB / 0.6402 GB, free: 6.812 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002636/0.1462, allocations: 1.546 MB / 0.6417 GB, free: 5.246 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.1465, allocations: 108.5 kB / 0.6418 GB, free: 5.137 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.1466, allocations: 4 kB / 0.6418 GB, free: 5.133 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.1466, allocations: 7.922 kB / 0.6418 GB, free: 5.125 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.1467, allocations: 3.938 kB / 0.6418 GB, free: 5.121 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1469, allocations: 23.97 kB / 0.6418 GB, free: 5.098 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.147, allocations: 39.92 kB / 0.6419 GB, free: 5.059 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1471, allocations: 15.97 kB / 0.6419 GB, free: 5.043 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.1472, allocations: 15.92 kB / 0.6419 GB, free: 5.027 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.1472, allocations: 19.92 kB / 0.6419 GB, free: 5.008 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1472, allocations: 4 kB / 0.6419 GB, free: 5.004 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.1473, allocations: 15.98 kB / 0.6419 GB, free: 4.988 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.1473, allocations: 15.92 kB / 0.6419 GB, free: 4.973 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1474, allocations: 19.86 kB / 0.642 GB, free: 4.953 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1475, allocations: 67.73 kB / 0.642 GB, free: 4.887 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1475, allocations: 0 / 0.642 GB, free: 4.887 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1475, allocations: 0 / 0.642 GB, free: 4.887 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1475, allocations: 0 / 0.642 GB, free: 4.887 MB / 442.7 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.0005034/0.148, allocations: 379.4 kB / 0.6424 GB, free: 4.465 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1481, allocations: 8.031 kB / 0.6424 GB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.1481, allocations: 8.844 kB / 0.6424 GB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1482, allocations: 172.3 kB / 0.6426 GB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.1482, allocations: 4.375 kB / 0.6426 GB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1483, allocations: 8.375 kB / 0.6426 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.1485, allocations: 74.2 kB / 0.6426 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.1485, allocations: 192 / 0.6426 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1486, allocations: 3.938 kB / 0.6427 GB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1486, allocations: 4 kB / 0.6427 GB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.1489, allocations: 75.86 kB / 0.6427 GB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1492, allocations: 288.9 kB / 0.643 GB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1494, allocations: 66.47 kB / 0.6431 GB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1496, allocations: 44.92 kB / 0.6431 GB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.1498, allocations: 109.1 kB / 0.6432 GB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1499, allocations: 34.5 kB / 0.6432 GB, free: 3.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1499, allocations: 4 kB / 0.6433 GB, free: 3.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005304/0.1504, allocations: 153.4 kB / 0.6434 GB, free: 3.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1505, allocations: 51.41 kB / 0.6434 GB, free: 3.227 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.1506, allocations: 131.1 kB / 0.6436 GB, free: 3.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1506, allocations: 25.7 kB / 0.6436 GB, free: 3.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.1506, allocations: 96.06 kB / 0.6437 GB, free: 2.961 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1507, allocations: 11.91 kB / 0.6437 GB, free: 2.949 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1507, allocations: 13.72 kB / 0.6437 GB, free: 2.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.1508, allocations: 318.8 kB / 0.644 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1509, allocations: 31.97 kB / 0.644 GB, free: 2.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1511, allocations: 39.95 kB / 0.6441 GB, free: 2.539 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.1514, allocations: 80.72 kB / 0.6442 GB, free: 2.457 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1514, allocations: 3.938 kB / 0.6442 GB, free: 2.453 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003211/0.1517, allocations: 121.5 kB / 0.6443 GB, free: 2.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1517, allocations: 4 kB / 0.6443 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1518, allocations: 4 kB / 0.6443 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1518, allocations: 0 / 0.6443 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1519, allocations: 15.98 kB / 0.6443 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1519, allocations: 0 / 0.6443 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.152, allocations: 12.31 kB / 0.6443 GB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.152, allocations: 0 / 0.6443 GB, free: 2.293 MB / 442.7 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 7.527e-05/0.1521, allocations: 123.1 kB / 0.6444 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1521, allocations: 7.906 kB / 0.6444 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.1525, allocations: 125.4 kB / 0.6446 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1525, allocations: 0 / 0.6446 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1525, allocations: 3.984 kB / 0.6446 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1525, allocations: 0 / 0.6446 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1527, allocations: 173.6 kB / 0.6447 GB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1527, allocations: 7.984 kB / 0.6447 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.672e-05/0.1528, allocations: 19.98 kB / 0.6448 GB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1528, allocations: 0 / 0.6448 GB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1528, allocations: 4 kB / 0.6448 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1528, allocations: 4 kB / 0.6448 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1528, allocations: 0 / 0.6448 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.1536, allocations: 0.7941 MB / 0.6455 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1537, allocations: 89 kB / 0.6456 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1537, allocations: 0 / 0.6456 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1538, allocations: 11.98 kB / 0.6456 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.1538, allocations: 11.92 kB / 0.6456 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1538, allocations: 0 / 0.6456 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.574e-05/0.1539, allocations: 106.1 kB / 0.6457 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1539, allocations: 7.875 kB / 0.6458 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.1542, allocations: 8 kB / 0.6458 GB, free: 0.668 MB / 442.7 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.0001404/0.1544, allocations: 99.25 kB / 0.6459 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.1547, allocations: 79.91 kB / 0.6459 GB, free: 492 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1547, allocations: 4 kB / 0.6459 GB, free: 488 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1549, allocations: 35.97 kB / 0.646 GB, free: 452 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1552, allocations: 11.98 kB / 0.646 GB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.1556, allocations: 282.9 kB / 0.6463 GB, free: 120 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1558, allocations: 0.6887 MB / 0.6469 GB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.003e-05/0.1559, allocations: 0 / 0.6469 GB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.1559, allocations: 11.44 kB / 0.6469 GB, free: 15.39 MB / 458.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1559, allocations: 0 / 0.6469 GB, free: 15.39 MB / 458.7 MB Notification: Performance of Templates: time 0.002562/0.1585, allocations: 0.6812 MB / 0.6476 GB, free: 14.71 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)