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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002794/0.002794, allocations: 173.5 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6103/0.6103, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.155/1.155, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008692/0.0008692, allocations: 91.17 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.813e-06, allocations: 2.969 kB / 0.5528 GB, free: 89.35 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 82.31 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4545, allocations: 110.5 MB / 0.7412 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.4547, allocations: 70.52 kB / 0.7412 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002907/0.4577, allocations: 0.7861 MB / 0.742 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.4577, allocations: 7.156 kB / 0.742 GB, free: 10.74 MB / 0.4948 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.000453/0.4581, allocations: 374.4 kB / 0.7424 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4582, allocations: 16.12 kB / 0.7424 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.4582, allocations: 3.906 kB / 0.7424 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4584, allocations: 181.7 kB / 0.7425 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4584, allocations: 3.656 kB / 0.7426 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4584, allocations: 0 / 0.7426 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001199/0.4585, allocations: 33.09 kB / 0.7426 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.4587, allocations: 46.56 kB / 0.7426 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4587, allocations: 3.781 kB / 0.7426 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4587, allocations: 0 / 0.7426 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4587, allocations: 0 / 0.7426 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.4593, allocations: 314.6 kB / 0.7429 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/0.4594, allocations: 44.5 kB / 0.743 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.4594, allocations: 24.84 kB / 0.743 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.4596, allocations: 102.4 kB / 0.7431 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4597, allocations: 34.56 kB / 0.7431 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4597, allocations: 0 / 0.7431 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002721/0.4599, allocations: 82.08 kB / 0.7432 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.46, allocations: 59.19 kB / 0.7433 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.4601, allocations: 111.7 kB / 0.7434 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.4601, allocations: 26.69 kB / 0.7434 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.4601, allocations: 90.27 kB / 0.7435 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.4602, allocations: 11.75 kB / 0.7435 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/0.4602, allocations: 0 / 0.7435 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.4603, allocations: 317.2 kB / 0.7438 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.4603, allocations: 16.61 kB / 0.7438 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.4603, allocations: 14.84 kB / 0.7438 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.4604, allocations: 26.02 kB / 0.7438 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4604, allocations: 0.75 kB / 0.7438 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001349/0.4606, allocations: 81.59 kB / 0.7439 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.4606, allocations: 3.875 kB / 0.7439 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4606, allocations: 1.781 kB / 0.7439 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.4606, allocations: 4 kB / 0.7439 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.4607, allocations: 27.47 kB / 0.744 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.4608, allocations: 0 / 0.744 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.4608, allocations: 24.19 kB / 0.744 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.4609, allocations: 10.97 kB / 0.744 GB, free: 25.03 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 5.763e-05/0.4609, allocations: 106.4 kB / 0.7441 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.461, allocations: 7.656 kB / 0.7441 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.4612, allocations: 86.55 kB / 0.7442 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4612, allocations: 4 kB / 0.7442 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4612, allocations: 0 / 0.7442 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4612, allocations: 3.875 kB / 0.7442 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.4613, allocations: 160 kB / 0.7443 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4613, allocations: 0 / 0.7443 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.4614, allocations: 25.41 kB / 0.7444 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4615, allocations: 0 / 0.7444 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4615, allocations: 3.906 kB / 0.7444 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4615, allocations: 0 / 0.7444 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4615, allocations: 0 / 0.7444 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002052/0.4617, allocations: 174.8 kB / 0.7445 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.4617, allocations: 88.73 kB / 0.7446 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.4618, allocations: 0 / 0.7446 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.4619, allocations: 24.73 kB / 0.7447 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.4619, allocations: 5.234 kB / 0.7447 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4619, allocations: 5.344 kB / 0.7447 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.457e-05/0.462, allocations: 96.53 kB / 0.7448 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002022/0.4622, allocations: 13.09 kB / 0.7448 GB, free: 24.39 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.0001274/0.4623, allocations: 104.5 kB / 0.7449 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.671e-05/0.4624, allocations: 30.03 kB / 0.7449 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4624, allocations: 0 / 0.7449 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.4625, allocations: 25.02 kB / 0.7449 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.4626, allocations: 6.844 kB / 0.7449 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.4628, allocations: 96.72 kB / 0.745 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.4631, allocations: 0.7123 MB / 0.7457 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.4631, allocations: 0 / 0.7457 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.002303/0.4654, allocations: 0.7364 MB / 0.7464 GB, free: 23.45 MB / 0.5105 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)