Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") [: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.00333/0.003329, allocations: 180.7 kB / 7.455 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.6943/0.6943, allocations: 130.6 MB / 138.5 MB, free: 2.156 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.517/1.517, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.0008937/0.0008938, allocations: 97.12 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.538e-06/9.668e-06, allocations: 3.25 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 81.57 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5391, allocations: 110.5 MB / 0.7354 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.5394, allocations: 68.2 kB / 0.7355 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003324/0.5427, allocations: 0.8562 MB / 0.7363 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.5428, allocations: 0 / 0.7363 GB, free: 11.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000392/0.5432, allocations: 355 kB / 0.7367 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5432, allocations: 7.719 kB / 0.7367 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/0.5441, allocations: 176.6 kB / 0.7369 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.5442, allocations: 176 kB / 0.737 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.5442, allocations: 0 / 0.737 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.5443, allocations: 7.875 kB / 0.737 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000222/0.5445, allocations: 118.4 kB / 0.7371 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.5447, allocations: 108.1 kB / 0.7372 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5447, allocations: 1.422 kB / 0.7372 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.5447, allocations: 7.75 kB / 0.7373 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5447, allocations: 0 / 0.7373 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/0.5457, allocations: 439.4 kB / 0.7377 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.5461, allocations: 167.4 kB / 0.7378 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/0.5462, allocations: 48.27 kB / 0.7379 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5462, allocations: 5.312 kB / 0.7379 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.5462, allocations: 38.25 kB / 0.7379 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.5462, allocations: 0 / 0.7379 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002544/0.5465, allocations: 116.1 kB / 0.738 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5465, allocations: 52.81 kB / 0.7381 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.5466, allocations: 97.44 kB / 0.7382 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5466, allocations: 29.52 kB / 0.7382 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.5467, allocations: 90.44 kB / 0.7383 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.5467, allocations: 7.906 kB / 0.7383 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.5467, allocations: 3.688 kB / 0.7383 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5469, allocations: 315.9 kB / 0.7386 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.5469, allocations: 38.94 kB / 0.7386 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.547, allocations: 47.66 kB / 0.7387 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.5471, allocations: 31.39 kB / 0.7387 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5471, allocations: 0 / 0.7387 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001775/0.5473, allocations: 113.6 kB / 0.7388 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5473, allocations: 7.781 kB / 0.7388 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5473, allocations: 7.844 kB / 0.7388 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5473, allocations: 0 / 0.7388 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.5476, allocations: 46.17 kB / 0.7389 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5476, allocations: 1.5 kB / 0.7389 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.5478, allocations: 47.83 kB / 0.7389 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5478, allocations: 0 / 0.7389 GB, free: 25.6 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 9.528e-05/0.5479, allocations: 110.2 kB / 0.739 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.548, allocations: 0 / 0.739 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.548, allocations: 10.91 kB / 0.739 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5481, allocations: 5.5 kB / 0.7391 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5481, allocations: 0 / 0.7391 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5481, allocations: 3.906 kB / 0.7391 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.5483, allocations: 185.2 kB / 0.7392 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5483, allocations: 1.406 kB / 0.7392 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.5485, allocations: 47.59 kB / 0.7393 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5485, allocations: 0 / 0.7393 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5486, allocations: 0 / 0.7393 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5486, allocations: 5.344 kB / 0.7393 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5486, allocations: 0 / 0.7393 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002647/0.5488, allocations: 221.2 kB / 0.7395 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.5489, allocations: 83.12 kB / 0.7396 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.5489, allocations: 0 / 0.7396 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.5492, allocations: 42.86 kB / 0.7396 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.5492, allocations: 4.5 kB / 0.7396 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.5492, allocations: 0 / 0.7396 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.557e-05/0.5493, allocations: 92.16 kB / 0.7397 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002199/0.5495, allocations: 11.47 kB / 0.7397 GB, free: 24.98 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.000119/0.5497, allocations: 92.08 kB / 0.7398 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.5498, allocations: 99.22 kB / 0.7399 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.5498, allocations: 0 / 0.7399 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.5499, allocations: 55.45 kB / 0.74 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.5501, allocations: 3.906 kB / 0.74 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.5508, allocations: 196.5 kB / 0.7401 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.5511, allocations: 0.7047 MB / 0.7408 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/0.5511, allocations: 0 / 0.7408 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.002861/0.554, allocations: 1.157 MB / 0.742 GB, free: 24.05 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)