Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008014/0.008014, allocations: 172.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.2 MB / 151.1 MB, free: 13.86 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.696/1.696, allocations: 223.2 MB / 406.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009252/0.0009253, allocations: 91.11 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 12 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.43, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.5809, allocations: 111.3 MB / 0.7582 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5812, allocations: 75.91 kB / 0.7583 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003249/0.5844, allocations: 1.084 MB / 0.7593 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5844, allocations: 0 / 0.7593 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5845, allocations: 0 / 0.7593 GB, free: 3.461 MB / 0.5261 GB 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.0004799/0.5849, allocations: 387.1 kB / 0.7597 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.585, allocations: 8.031 kB / 0.7597 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.585, allocations: 7.906 kB / 0.7597 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5852, allocations: 174.9 kB / 0.7599 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5852, allocations: 4 kB / 0.7599 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.5852, allocations: 0 / 0.7599 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.5855, allocations: 89.64 kB / 0.76 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.5855, allocations: 3.984 kB / 0.76 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5855, allocations: 0 / 0.76 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5855, allocations: 0 / 0.76 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.5858, allocations: 103.9 kB / 0.7601 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.5864, allocations: 336 kB / 0.7604 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.5867, allocations: 74.53 kB / 0.7605 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.5869, allocations: 109.2 kB / 0.7606 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.5869, allocations: 30.56 kB / 0.7606 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5869, allocations: 4 kB / 0.7606 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005938/0.5875, allocations: 185.5 kB / 0.7608 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.5875, allocations: 51.41 kB / 0.7608 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.5876, allocations: 117 kB / 0.7609 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.5877, allocations: 25.7 kB / 0.761 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.5877, allocations: 100 kB / 0.7611 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.5877, allocations: 7.844 kB / 0.7611 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.5878, allocations: 7.938 kB / 0.7611 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5879, allocations: 322.8 kB / 0.7614 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.588, allocations: 47.95 kB / 0.7614 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.5882, allocations: 47.95 kB / 0.7615 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.5883, allocations: 51.97 kB / 0.7615 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5884, allocations: 0 / 0.7615 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003314/0.5887, allocations: 141.5 kB / 0.7617 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5887, allocations: 4 kB / 0.7617 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5887, allocations: 0 / 0.7617 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5888, allocations: 8 kB / 0.7617 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5889, allocations: 19.92 kB / 0.7617 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5889, allocations: 4 kB / 0.7617 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.589, allocations: 19.98 kB / 0.7617 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.589, allocations: 0 / 0.7617 GB, free: 0.793 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.992e-05/0.5891, allocations: 121.8 kB / 0.7618 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.5892, allocations: 4 kB / 0.7618 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.5896, allocations: 153.3 kB / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5896, allocations: 0 / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5896, allocations: 0 / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5896, allocations: 4 kB / 0.762 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.5898, allocations: 189.6 kB / 0.7622 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5898, allocations: 0 / 0.7622 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5899, allocations: 23.92 kB / 0.7622 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5899, allocations: 0 / 0.7622 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.5899, allocations: 4.375 kB / 0.7622 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5899, allocations: 0 / 0.7622 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.59, allocations: 0 / 0.7622 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.5904, allocations: 239.5 kB / 0.7624 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.5904, allocations: 85.02 kB / 0.7625 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.5905, allocations: 0 / 0.7625 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5906, allocations: 15.98 kB / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.5906, allocations: 11.98 kB / 0.7625 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.5906, allocations: 0 / 0.7625 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.5907, allocations: 102.1 kB / 0.7626 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.5907, allocations: 0 / 0.7626 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002244/0.5909, allocations: 16 kB / 0.7626 GB, free: 15.74 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.5911, allocations: 107.1 kB / 0.7627 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.5915, allocations: 103.9 kB / 0.7628 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5915, allocations: 4 kB / 0.7628 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.5917, allocations: 47.97 kB / 0.7629 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.5919, allocations: 17.03 kB / 0.7629 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.5922, allocations: 152.7 kB / 0.7631 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.5925, allocations: 0.6926 MB / 0.7637 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.5925, allocations: 4 kB / 0.7637 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.5925, allocations: 11.38 kB / 0.7637 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.5925, allocations: 0 / 0.7637 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of Templates: time 0.002617/0.5952, allocations: 0.6362 MB / 0.7644 GB, free: 13.91 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)