Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7571/0.7571, allocations: 133.6 MB / 141.6 MB, free: 2.918 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.418/1.418, allocations: 221.5 MB / 395.5 MB, free: 10.83 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.0008642/0.0008638, allocations: 102.7 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.575e-05, allocations: 4 kB / 0.5535 GB, free: 9.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.5514, allocations: 82.31 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.707, allocations: 111.3 MB / 0.7425 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.7073, allocations: 79.95 kB / 0.7426 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004123/0.7114, allocations: 1.415 MB / 0.744 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7114, allocations: 0 / 0.744 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.7114, allocations: 4 kB / 0.744 GB, free: 9.965 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003248/0.7118, allocations: 338.3 kB / 0.7443 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.7118, allocations: 12.03 kB / 0.7443 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.7119, allocations: 0 / 0.7443 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.712, allocations: 175 kB / 0.7445 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.712, allocations: 0 / 0.7445 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.712, allocations: 0 / 0.7445 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.062e-05/0.7121, allocations: 15.94 kB / 0.7445 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.778e-05/0.7122, allocations: 41.69 kB / 0.7446 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.7122, allocations: 0 / 0.7446 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.7122, allocations: 0 / 0.7446 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.7122, allocations: 0 / 0.7446 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.7126, allocations: 237.3 kB / 0.7448 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.102e-05/0.7126, allocations: 22.58 kB / 0.7448 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.7126, allocations: 20.8 kB / 0.7448 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.7133, allocations: 473.4 kB / 0.7453 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.7133, allocations: 34.56 kB / 0.7453 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7133, allocations: 0 / 0.7453 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.003249/0.7166, allocations: 0.5402 MB / 0.7458 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.7166, allocations: 55.44 kB / 0.7459 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.7167, allocations: 101 kB / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7168, allocations: 25.7 kB / 0.746 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.7168, allocations: 84.14 kB / 0.7461 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.7168, allocations: 7.906 kB / 0.7461 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-06/0.7169, allocations: 3.938 kB / 0.7461 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.717, allocations: 318.8 kB / 0.7464 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.717, allocations: 8 kB / 0.7464 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.717, allocations: 8 kB / 0.7464 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.7201, allocations: 0.5074 MB / 0.7469 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7201, allocations: 3.938 kB / 0.7469 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003105/0.7232, allocations: 0.5519 MB / 0.7475 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7233, allocations: 4 kB / 0.7475 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.7233, allocations: 0 / 0.7475 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7233, allocations: 0 / 0.7475 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.7234, allocations: 8 kB / 0.7475 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.7234, allocations: 8.031 kB / 0.7475 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.7235, allocations: 3.984 kB / 0.7475 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.7235, allocations: 4 kB / 0.7475 GB, free: 6.102 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 (2): * Single equations (assignments): 2 * 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.18e-05/0.7236, allocations: 104.9 kB / 0.7476 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.7236, allocations: 7.891 kB / 0.7476 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.7268, allocations: 0.5596 MB / 0.7481 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.7268, allocations: 0 / 0.7481 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7268, allocations: 0 / 0.7481 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7268, allocations: 0 / 0.7481 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.727, allocations: 138.2 kB / 0.7483 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.727, allocations: 3.953 kB / 0.7483 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.7271, allocations: 8 kB / 0.7483 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7271, allocations: 4.031 kB / 0.7483 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.7271, allocations: 0 / 0.7483 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7271, allocations: 0 / 0.7483 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7271, allocations: 0 / 0.7483 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.7303, allocations: 0.6436 MB / 0.7489 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.7303, allocations: 84.97 kB / 0.749 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.7303, allocations: 3.984 kB / 0.749 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.7304, allocations: 4 kB / 0.749 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.7305, allocations: 0 / 0.749 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.7305, allocations: 3.938 kB / 0.749 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.7305, allocations: 91.22 kB / 0.7491 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7306, allocations: 4.031 kB / 0.7491 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002543/0.7308, allocations: 27.92 kB / 0.7491 GB, free: 4.34 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 (2): * Single equations (assignments): 2 * 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.0002199/0.731, allocations: 115.1 kB / 0.7492 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.482e-05/0.7311, allocations: 15.98 kB / 0.7493 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7311, allocations: 0 / 0.7493 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.131e-05/0.7312, allocations: 12 kB / 0.7493 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.7313, allocations: 1.875 kB / 0.7493 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.7316, allocations: 75.3 kB / 0.7493 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.7318, allocations: 0.6768 MB / 0.75 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.7319, allocations: 7.938 kB / 0.75 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.7319, allocations: 7.438 kB / 0.75 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.7319, allocations: 0 / 0.75 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of Templates: time 0.002466/0.7344, allocations: 0.5794 MB / 0.7506 GB, free: 2.797 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)