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.001544/0.001544, allocations: 175.4 kB / 7.648 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8433/0.8433, allocations: 130.7 MB / 138.7 MB, free: 3.574 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 391.8 MB, free: 14.15 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.0008703/0.0008701, allocations: 96.89 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.821e-05, allocations: 7.984 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4695, allocations: 81.57 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.6121, allocations: 110.4 MB / 0.7359 GB, free: 412 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.6123, allocations: 75.94 kB / 0.736 GB, free: 336 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003194/0.6156, allocations: 1.073 MB / 0.7371 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6156, allocations: 1.5 kB / 0.7371 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.6156, allocations: 4 kB / 0.7371 GB, free: 15.25 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.0005011/0.6161, allocations: 370.3 kB / 0.7374 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6162, allocations: 8.031 kB / 0.7374 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.6162, allocations: 8.781 kB / 0.7374 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.6164, allocations: 184 kB / 0.7376 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6164, allocations: 0 / 0.7376 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.6164, allocations: 4 kB / 0.7376 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001229/0.6166, allocations: 31.98 kB / 0.7376 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.6167, allocations: 45.69 kB / 0.7377 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6167, allocations: 0 / 0.7377 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6167, allocations: 5.625 kB / 0.7377 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6167, allocations: 0 / 0.7377 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.6173, allocations: 316.5 kB / 0.738 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.222e-05/0.6174, allocations: 46.56 kB / 0.738 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.6175, allocations: 20.86 kB / 0.7381 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.6177, allocations: 106.1 kB / 0.7382 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6177, allocations: 30.56 kB / 0.7382 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.6177, allocations: 0 / 0.7382 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002639/0.618, allocations: 69.67 kB / 0.7383 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.618, allocations: 59.41 kB / 0.7383 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.6182, allocations: 111.5 kB / 0.7384 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.6182, allocations: 25.7 kB / 0.7384 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.6182, allocations: 104 kB / 0.7385 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.6183, allocations: 3.906 kB / 0.7386 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.6183, allocations: 0 / 0.7386 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6184, allocations: 330.7 kB / 0.7389 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/0.6184, allocations: 12 kB / 0.7389 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.6185, allocations: 19.98 kB / 0.7389 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.677e-05/0.6186, allocations: 28.11 kB / 0.7389 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6186, allocations: 0 / 0.7389 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000151/0.6187, allocations: 69.58 kB / 0.739 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6188, allocations: 8 kB / 0.739 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6188, allocations: 0 / 0.739 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6188, allocations: 3.984 kB / 0.739 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6189, allocations: 19.98 kB / 0.739 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.619, allocations: 4 kB / 0.739 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.6191, allocations: 15.98 kB / 0.739 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.6191, allocations: 0 / 0.739 GB, free: 13.02 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 () * 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.485e-05/0.6192, allocations: 114.5 kB / 0.7391 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.6192, allocations: 4 kB / 0.7392 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.6194, allocations: 97.92 kB / 0.7392 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6194, allocations: 4 kB / 0.7392 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6194, allocations: 0 / 0.7392 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6194, allocations: 0 / 0.7392 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.6196, allocations: 162.1 kB / 0.7394 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6196, allocations: 0 / 0.7394 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.6197, allocations: 19.98 kB / 0.7394 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.6197, allocations: 3.984 kB / 0.7394 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.6197, allocations: 0 / 0.7394 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6198, allocations: 0 / 0.7394 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6198, allocations: 4 kB / 0.7394 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.62, allocations: 167.5 kB / 0.7396 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.6201, allocations: 92.91 kB / 0.7397 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.6201, allocations: 3.984 kB / 0.7397 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.6202, allocations: 15.98 kB / 0.7397 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.6202, allocations: 8 kB / 0.7397 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.6203, allocations: 4 kB / 0.7397 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.6203, allocations: 95.27 kB / 0.7398 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6203, allocations: 0 / 0.7398 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002156/0.6206, allocations: 12 kB / 0.7398 GB, free: 12.14 MB / 0.5261 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.000163/0.6207, allocations: 99.23 kB / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.6208, allocations: 32 kB / 0.7399 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6208, allocations: 0 / 0.7399 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.6209, allocations: 27.94 kB / 0.74 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.6211, allocations: 7.922 kB / 0.74 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.6213, allocations: 93.5 kB / 0.7401 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.6216, allocations: 0.6885 MB / 0.7407 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.6217, allocations: 0 / 0.7407 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.6217, allocations: 11.38 kB / 0.7407 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6217, allocations: 4 kB / 0.7407 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.002925/0.6246, allocations: 0.6045 MB / 0.7413 GB, free: 10.53 MB / 0.5261 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)