Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001034/0.001034, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7248/0.7248, allocations: 130.7 MB / 138.7 MB, free: 3.547 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.669/1.669, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.000829/0.0008292, allocations: 96.52 kB / 473.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.285e-05, allocations: 8 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4788, allocations: 81.57 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.6306, allocations: 111.1 MB / 0.7366 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.6309, allocations: 67.97 kB / 0.7367 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004158/0.6351, allocations: 1.425 MB / 0.7381 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6351, allocations: 0 / 0.7381 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6351, allocations: 0 / 0.7381 GB, free: 14.21 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.000341/0.6355, allocations: 350.3 kB / 0.7384 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6355, allocations: 11.97 kB / 0.7385 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.6355, allocations: 4 kB / 0.7385 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.6357, allocations: 167 kB / 0.7386 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.6357, allocations: 4 kB / 0.7386 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.6357, allocations: 0 / 0.7386 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.159e-05/0.6358, allocations: 8.938 kB / 0.7386 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.349e-05/0.6359, allocations: 41.62 kB / 0.7387 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6359, allocations: 0 / 0.7387 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.6359, allocations: 0 / 0.7387 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6359, allocations: 0 / 0.7387 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.6363, allocations: 245.3 kB / 0.7389 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.6363, allocations: 22.58 kB / 0.7389 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.6363, allocations: 12.92 kB / 0.7389 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006414/0.637, allocations: 465.5 kB / 0.7394 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.637, allocations: 42.56 kB / 0.7394 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.637, allocations: 3.938 kB / 0.7394 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.00326/0.6403, allocations: 0.5518 MB / 0.74 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.6404, allocations: 51.41 kB / 0.74 GB, free: 12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.6404, allocations: 97 kB / 0.7401 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6405, allocations: 25.7 kB / 0.7401 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.6405, allocations: 88.12 kB / 0.7402 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.6406, allocations: 3.906 kB / 0.7402 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.6406, allocations: 4 kB / 0.7402 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6407, allocations: 318.8 kB / 0.7405 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.6407, allocations: 8 kB / 0.7405 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.6407, allocations: 0 / 0.7405 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/0.6438, allocations: 0.5152 MB / 0.741 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6438, allocations: 0 / 0.741 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003068/0.6469, allocations: 0.5402 MB / 0.7416 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6469, allocations: 4.625 kB / 0.7416 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6469, allocations: 11.97 kB / 0.7416 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6469, allocations: 0 / 0.7416 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.647, allocations: 7.984 kB / 0.7416 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.6471, allocations: 0 / 0.7416 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.6471, allocations: 4 kB / 0.7416 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.6471, allocations: 0 / 0.7416 GB, free: 10.35 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 7.158e-05/0.6472, allocations: 109.6 kB / 0.7417 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.6472, allocations: 11.91 kB / 0.7417 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.6503, allocations: 0.5519 MB / 0.7422 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6504, allocations: 0 / 0.7422 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6504, allocations: 3.984 kB / 0.7422 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6504, allocations: 0 / 0.7422 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.6505, allocations: 146.2 kB / 0.7424 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6505, allocations: 0 / 0.7424 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.6506, allocations: 7.984 kB / 0.7424 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.6506, allocations: 0 / 0.7424 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.6506, allocations: 7.938 kB / 0.7424 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6506, allocations: 0 / 0.7424 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6506, allocations: 0 / 0.7424 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.6537, allocations: 0.6358 MB / 0.743 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.6538, allocations: 88.97 kB / 0.7431 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.6538, allocations: 0 / 0.7431 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.6539, allocations: 0 / 0.7431 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.6539, allocations: 8.031 kB / 0.7431 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.6539, allocations: 3.984 kB / 0.7431 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.211e-05/0.654, allocations: 83.28 kB / 0.7432 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/0.654, allocations: 0 / 0.7432 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002443/0.6543, allocations: 31.88 kB / 0.7432 GB, free: 8.586 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.0002031/0.6545, allocations: 115.2 kB / 0.7433 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.075e-05/0.6546, allocations: 19.94 kB / 0.7434 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6546, allocations: 0 / 0.7434 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.6546, allocations: 12.06 kB / 0.7434 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.6548, allocations: 0.5469 kB / 0.7434 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.655, allocations: 67.89 kB / 0.7434 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.6553, allocations: 0.6846 MB / 0.7441 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.6554, allocations: 7.984 kB / 0.7441 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.6554, allocations: 7.438 kB / 0.7441 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6554, allocations: 4 kB / 0.7441 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of Templates: time 0.002605/0.658, allocations: 0.5727 MB / 0.7447 GB, free: 7.043 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)