Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic") translateModel(IDEAS.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic") [: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.00217/0.00217, allocations: 177 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6249/0.6249, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.14/1.14, 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.0008549/0.0008549, allocations: 97.23 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.903e-06/6.933e-06, allocations: 2.938 kB / 0.5528 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4315, allocations: 110.5 MB / 0.7412 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001723/0.4317, allocations: 68.52 kB / 0.7412 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002619/0.4344, allocations: 0.7817 MB / 0.742 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4344, allocations: 0 / 0.742 GB, free: 10.66 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.0003809/0.4348, allocations: 381.9 kB / 0.7424 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4348, allocations: 9.438 kB / 0.7424 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.4349, allocations: 11.69 kB / 0.7424 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.435, allocations: 168.1 kB / 0.7425 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.435, allocations: 0 / 0.7425 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.435, allocations: 3.844 kB / 0.7425 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.375e-05/0.4351, allocations: 29.58 kB / 0.7426 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.095e-05/0.4352, allocations: 55.97 kB / 0.7426 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.4352, allocations: 0 / 0.7426 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.4352, allocations: 4 kB / 0.7426 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4352, allocations: 0 / 0.7426 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.4357, allocations: 311.8 kB / 0.7429 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/0.4358, allocations: 48.25 kB / 0.743 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.4358, allocations: 21.45 kB / 0.743 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.436, allocations: 109.6 kB / 0.7431 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.436, allocations: 31.22 kB / 0.7431 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.436, allocations: 0 / 0.7431 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002117/0.4362, allocations: 82.03 kB / 0.7432 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.4363, allocations: 55.41 kB / 0.7433 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.4363, allocations: 116.8 kB / 0.7434 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.4364, allocations: 25.7 kB / 0.7434 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.4364, allocations: 92.86 kB / 0.7435 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.4364, allocations: 4.703 kB / 0.7435 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.4364, allocations: 0 / 0.7435 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.4365, allocations: 321 kB / 0.7438 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.4366, allocations: 12.58 kB / 0.7438 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.4366, allocations: 21.86 kB / 0.7438 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.4367, allocations: 28.97 kB / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4367, allocations: 0 / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000136/0.4368, allocations: 76.12 kB / 0.7439 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.4368, allocations: 8.266 kB / 0.7439 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.4368, allocations: 0 / 0.7439 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.4368, allocations: 0 / 0.7439 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.437, allocations: 24.89 kB / 0.744 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.437, allocations: 5.391 kB / 0.744 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/0.4371, allocations: 23.97 kB / 0.744 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.4371, allocations: 0 / 0.744 GB, free: 24.95 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.9e-05/0.4372, allocations: 116.5 kB / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.4372, allocations: 3.906 kB / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.4374, allocations: 91.11 kB / 0.7442 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4374, allocations: 0 / 0.7442 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4374, allocations: 0 / 0.7442 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4374, allocations: 0 / 0.7442 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.4375, allocations: 166.2 kB / 0.7443 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4375, allocations: 1.594 kB / 0.7443 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.4377, allocations: 27.89 kB / 0.7444 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4377, allocations: 0 / 0.7444 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4377, allocations: 0 / 0.7444 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4377, allocations: 0 / 0.7444 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4377, allocations: 1.312 kB / 0.7444 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001635/0.4379, allocations: 182.2 kB / 0.7445 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.4379, allocations: 81.02 kB / 0.7446 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4379, allocations: 3.875 kB / 0.7446 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.438, allocations: 21.23 kB / 0.7446 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.4381, allocations: 5.391 kB / 0.7446 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.4381, allocations: 0 / 0.7446 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.244e-05/0.4381, allocations: 96.5 kB / 0.7447 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002021/0.4383, allocations: 13.27 kB / 0.7448 GB, free: 24.31 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.0001123/0.4385, allocations: 102.6 kB / 0.7449 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.229e-05/0.4385, allocations: 31.53 kB / 0.7449 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.4386, allocations: 0 / 0.7449 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.023e-05/0.4386, allocations: 24.34 kB / 0.7449 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.4387, allocations: 11.06 kB / 0.7449 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.439, allocations: 96.89 kB / 0.745 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.4392, allocations: 0.7037 MB / 0.7457 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.4392, allocations: 0 / 0.7457 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.00216/0.4414, allocations: 0.7432 MB / 0.7464 GB, free: 23.36 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)