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.001671/0.001671, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.85/0.85, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.503/1.503, allocations: 221.3 MB / 396.8 MB, free: 9.191 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.0008726/0.0008728, allocations: 95.98 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.831e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 81.59 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5179/0.6596, allocations: 111 MB / 0.7432 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.6599, allocations: 67.86 kB / 0.7432 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003542/0.6634, allocations: 1.095 MB / 0.7443 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6634, allocations: 0 / 0.7443 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.6634, allocations: 0 / 0.7443 GB, free: 27.99 MB / 0.5105 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.0004093/0.6639, allocations: 375 kB / 0.7447 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6639, allocations: 11.5 kB / 0.7447 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.6639, allocations: 3.906 kB / 0.7447 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6641, allocations: 172.2 kB / 0.7448 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.6641, allocations: 7.281 kB / 0.7449 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.6641, allocations: 0 / 0.7449 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.6643, allocations: 57.55 kB / 0.7449 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6643, allocations: 0 / 0.7449 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6643, allocations: 3.375 kB / 0.7449 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6643, allocations: 7.938 kB / 0.7449 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.6644, allocations: 32.98 kB / 0.745 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.6649, allocations: 318.6 kB / 0.7453 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.38e-05/0.6651, allocations: 59.27 kB / 0.7453 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.6651, allocations: 22.19 kB / 0.7453 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.6653, allocations: 106.2 kB / 0.7454 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.6654, allocations: 34.41 kB / 0.7455 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.6654, allocations: 0 / 0.7455 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001669/0.6655, allocations: 59.88 kB / 0.7455 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.6656, allocations: 59.25 kB / 0.7456 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.6657, allocations: 118.9 kB / 0.7457 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.6657, allocations: 25.7 kB / 0.7457 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.6658, allocations: 97.22 kB / 0.7458 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.6658, allocations: 11.41 kB / 0.7458 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.6658, allocations: 7.875 kB / 0.7458 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6659, allocations: 320.3 kB / 0.7461 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.6659, allocations: 10.97 kB / 0.7461 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.666, allocations: 24.03 kB / 0.7462 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.666, allocations: 13.45 kB / 0.7462 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.666, allocations: 0 / 0.7462 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.964e-05/0.6661, allocations: 70.03 kB / 0.7462 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6661, allocations: 3.812 kB / 0.7463 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.6661, allocations: 0 / 0.7463 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6662, allocations: 0 / 0.7463 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.6663, allocations: 25.73 kB / 0.7463 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.6663, allocations: 7.969 kB / 0.7463 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.6664, allocations: 15.64 kB / 0.7463 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.6664, allocations: 3.953 kB / 0.7463 GB, free: 26.26 MB / 0.5105 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 () * 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 7.184e-05/0.6665, allocations: 108.7 kB / 0.7464 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.6665, allocations: 3.812 kB / 0.7464 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.6667, allocations: 85.55 kB / 0.7465 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.6667, allocations: 4 kB / 0.7465 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6667, allocations: 0 / 0.7465 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6667, allocations: 0 / 0.7465 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.6669, allocations: 187.2 kB / 0.7467 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6669, allocations: 0 / 0.7467 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.667, allocations: 21.45 kB / 0.7467 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.667, allocations: 0 / 0.7467 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.667, allocations: 0 / 0.7467 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.667, allocations: 4 kB / 0.7467 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.667, allocations: 0 / 0.7467 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.6672, allocations: 171.7 kB / 0.7469 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.6672, allocations: 88.89 kB / 0.7469 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.6673, allocations: 4.125 kB / 0.747 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6674, allocations: 20.81 kB / 0.747 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.6674, allocations: 4 kB / 0.747 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.6674, allocations: 3.844 kB / 0.747 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.6675, allocations: 95.8 kB / 0.7471 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6675, allocations: 3.844 kB / 0.7471 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002002/0.6677, allocations: 14.86 kB / 0.7471 GB, free: 25.58 MB / 0.5105 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 () * 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.000151/0.6679, allocations: 108.2 kB / 0.7472 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.668, allocations: 35.61 kB / 0.7472 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.668, allocations: 0 / 0.7472 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.668, allocations: 25.5 kB / 0.7472 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.6682, allocations: 3.953 kB / 0.7473 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.6684, allocations: 95.52 kB / 0.7473 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.6687, allocations: 0.6929 MB / 0.748 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.6687, allocations: 0.875 kB / 0.748 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.6688, allocations: 7.438 kB / 0.748 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/0.6688, allocations: 4 kB / 0.748 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.002469/0.6712, allocations: 0.6405 MB / 0.7487 GB, free: 24.64 MB / 0.5105 GB 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)