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") [: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.004053/0.004053, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6743/0.6743, allocations: 130.6 MB / 138.5 MB, free: 2.203 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.511/1.511, allocations: 221.4 MB / 391.4 MB, free: 13.02 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.0009349/0.0009352, allocations: 101.5 kB / 473.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.586e-06, allocations: 2.125 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 81.59 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5562/0.7286, allocations: 110.3 MB / 0.7353 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.7289, allocations: 72.47 kB / 0.7353 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003087/0.732, allocations: 0.7902 MB / 0.7361 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.732, allocations: 1.531 kB / 0.7361 GB, free: 11.15 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.0004306/0.7325, allocations: 379 kB / 0.7365 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7325, allocations: 7.688 kB / 0.7365 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.7325, allocations: 9.344 kB / 0.7365 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.7327, allocations: 172.2 kB / 0.7367 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.7327, allocations: 4 kB / 0.7367 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.7327, allocations: 3.812 kB / 0.7367 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/0.7328, allocations: 33.45 kB / 0.7367 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.906e-05/0.7329, allocations: 55.94 kB / 0.7368 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.733, allocations: 0 / 0.7368 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.733, allocations: 0 / 0.7368 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.733, allocations: 0 / 0.7368 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.7335, allocations: 307.2 kB / 0.737 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.539e-05/0.7336, allocations: 49.5 kB / 0.7371 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.7336, allocations: 25.67 kB / 0.7371 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.7338, allocations: 103.1 kB / 0.7372 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.7339, allocations: 38.44 kB / 0.7373 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.7339, allocations: 0 / 0.7373 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002588/0.7341, allocations: 76.47 kB / 0.7373 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.7342, allocations: 52.86 kB / 0.7374 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.7343, allocations: 115.9 kB / 0.7375 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.7343, allocations: 25.7 kB / 0.7375 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.7343, allocations: 89.56 kB / 0.7376 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.7344, allocations: 8.906 kB / 0.7376 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.7344, allocations: 4.938 kB / 0.7376 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.7345, allocations: 312.4 kB / 0.7379 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.7345, allocations: 22.94 kB / 0.7379 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.7345, allocations: 17.83 kB / 0.7379 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/0.7346, allocations: 21.05 kB / 0.738 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7346, allocations: 0 / 0.738 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001579/0.7348, allocations: 84.84 kB / 0.738 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.7348, allocations: 3.875 kB / 0.7381 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7348, allocations: 1.688 kB / 0.7381 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.7348, allocations: 5.688 kB / 0.7381 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.735, allocations: 28.2 kB / 0.7381 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.735, allocations: 0 / 0.7381 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/0.7351, allocations: 23.92 kB / 0.7381 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.7351, allocations: 3.844 kB / 0.7381 GB, free: 25.45 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 8.089e-05/0.7352, allocations: 105.8 kB / 0.7382 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.7353, allocations: 7.781 kB / 0.7382 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.7355, allocations: 94.88 kB / 0.7383 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7355, allocations: 4 kB / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7355, allocations: 0 / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7355, allocations: 3.812 kB / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.7357, allocations: 165.2 kB / 0.7385 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7357, allocations: 0 / 0.7385 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.7358, allocations: 19.75 kB / 0.7385 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7358, allocations: 5.547 kB / 0.7385 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.7358, allocations: 3.906 kB / 0.7385 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.7358, allocations: 0 / 0.7385 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7358, allocations: 0 / 0.7385 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001803/0.736, allocations: 174.2 kB / 0.7387 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.7361, allocations: 86.59 kB / 0.7388 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.7361, allocations: 0 / 0.7388 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7362, allocations: 22.81 kB / 0.7388 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.7363, allocations: 4.156 kB / 0.7388 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.7363, allocations: 3.906 kB / 0.7388 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.926e-05/0.7364, allocations: 101.1 kB / 0.7389 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002197/0.7366, allocations: 14.41 kB / 0.7389 GB, free: 24.8 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.0001549/0.7368, allocations: 100.4 kB / 0.739 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.7369, allocations: 34.89 kB / 0.739 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7369, allocations: 0 / 0.739 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.7369, allocations: 20.89 kB / 0.739 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.7371, allocations: 7.219 kB / 0.739 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.7374, allocations: 94.81 kB / 0.7391 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.7377, allocations: 0.7047 MB / 0.7398 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.7377, allocations: 0 / 0.7398 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.002942/0.7406, allocations: 0.7395 MB / 0.7405 GB, free: 23.86 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)