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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004999/0.004999, allocations: 101.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 186.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9231/0.9231, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4403, allocations: 80.91 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003134/0.4435, allocations: 1.454 MB / 0.6661 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.4446, allocations: 0.5643 MB / 0.6666 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.4447, allocations: 1.406 kB / 0.6666 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.4447, allocations: 3.938 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.4448, allocations: 5.375 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.4451, allocations: 54.66 kB / 0.6667 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.4452, allocations: 31.31 kB / 0.6667 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4453, allocations: 7.828 kB / 0.6667 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.4454, allocations: 17.14 kB / 0.6667 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.4455, allocations: 15.27 kB / 0.6667 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.4455, allocations: 2 kB / 0.6667 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.4456, allocations: 55.98 kB / 0.6668 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.4456, allocations: 3.938 kB / 0.6668 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.4457, allocations: 14.64 kB / 0.6668 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.4458, allocations: 62.8 kB / 0.6669 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4458, allocations: 4 kB / 0.6669 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.228e-06/0.4459, allocations: 5.453 kB / 0.6669 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.4459, allocations: 0 / 0.6669 GB, free: 5.848 MB / 0.4981 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.0004561/0.4463, allocations: 340.2 kB / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4464, allocations: 9.594 kB / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.4464, allocations: 3.594 kB / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.362e-05/0.4465, allocations: 172.5 kB / 0.6674 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4465, allocations: 384 / 0.6674 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.4466, allocations: 9.812 kB / 0.6674 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4467, allocations: 45.41 kB / 0.6674 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4467, allocations: 5.031 kB / 0.6674 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4467, allocations: 0 / 0.6674 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4467, allocations: 1.094 kB / 0.6674 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.4468, allocations: 18.86 kB / 0.6675 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.4472, allocations: 259 kB / 0.6677 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.4472, allocations: 36.81 kB / 0.6677 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.4473, allocations: 14.8 kB / 0.6678 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/0.448, allocations: 472.5 kB / 0.6682 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.448, allocations: 39.69 kB / 0.6683 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.448, allocations: 0 / 0.6683 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000235/0.4482, allocations: 66.92 kB / 0.6683 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4483, allocations: 52.81 kB / 0.6684 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.4484, allocations: 107.6 kB / 0.6685 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.4484, allocations: 25.7 kB / 0.6685 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.4484, allocations: 85.86 kB / 0.6686 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4484, allocations: 9.469 kB / 0.6686 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.4485, allocations: 16.31 kB / 0.6686 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.4485, allocations: 316.1 kB / 0.6689 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.4486, allocations: 5.406 kB / 0.6689 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.4486, allocations: 17.23 kB / 0.6689 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.995e-05/0.4487, allocations: 29.91 kB / 0.669 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4487, allocations: 0 / 0.669 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/0.4488, allocations: 54.78 kB / 0.669 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4488, allocations: 5.5 kB / 0.669 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4488, allocations: 0 / 0.669 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4489, allocations: 0 / 0.669 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.4489, allocations: 9.234 kB / 0.669 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4489, allocations: 4.062 kB / 0.669 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.449, allocations: 9.344 kB / 0.669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.449, allocations: 1.438 kB / 0.669 GB, free: 3.559 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.449, allocations: 124.3 kB / 0.6691 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.4491, allocations: 4.969 kB / 0.6692 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.4492, allocations: 66.25 kB / 0.6692 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4492, allocations: 0 / 0.6692 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4493, allocations: 3.938 kB / 0.6692 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4493, allocations: 1.188 kB / 0.6692 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.4494, allocations: 167.9 kB / 0.6694 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4494, allocations: 0 / 0.6694 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.4494, allocations: 8.781 kB / 0.6694 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4494, allocations: 3.984 kB / 0.6694 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4495, allocations: 1.344 kB / 0.6694 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4495, allocations: 0 / 0.6694 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4495, allocations: 0 / 0.6694 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.4496, allocations: 154 kB / 0.6695 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.4496, allocations: 77.11 kB / 0.6696 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.4497, allocations: 9.391 kB / 0.6696 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.4497, allocations: 5.469 kB / 0.6696 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.4498, allocations: 1.188 kB / 0.6696 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4498, allocations: 1.312 kB / 0.6696 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.4498, allocations: 88.95 kB / 0.6697 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4498, allocations: 1.594 kB / 0.6697 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002424/0.4501, allocations: 18.66 kB / 0.6697 GB, free: 2.809 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.4502, allocations: 113.5 kB / 0.6698 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.4504, allocations: 25.52 kB / 0.6699 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4504, allocations: 3.938 kB / 0.6699 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.4504, allocations: 16.42 kB / 0.6699 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.4506, allocations: 5.062 kB / 0.6699 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.4509, allocations: 126.2 kB / 0.67 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.451, allocations: 0.6795 MB / 0.6707 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.4511, allocations: 5.375 kB / 0.6707 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.4511, allocations: 8.781 kB / 0.6707 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.4511, allocations: 0 / 0.6707 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of Templates: time 0.003022/0.4541, allocations: 0.6669 MB / 0.6713 GB, free: 1.504 MB / 0.4981 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)