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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001231/0.001232, allocations: 198.4 kB / 16.14 MB, free: 6.656 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7543/0.7543, allocations: 132.2 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 64.41 kB / 0.5011 GB, free: 4.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4598, allocations: 80.21 MB / 0.5794 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003017/0.4628, allocations: 1.514 MB / 0.5809 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00091/0.4638, allocations: 0.5785 MB / 0.5815 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.4638, allocations: 0 / 0.5815 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.4639, allocations: 1.609 kB / 0.5815 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.4639, allocations: 4.844 kB / 0.5815 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.4641, allocations: 38.86 kB / 0.5815 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.4642, allocations: 26.06 kB / 0.5815 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.4643, allocations: 4.203 kB / 0.5815 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.4644, allocations: 19.22 kB / 0.5816 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.4645, allocations: 10.94 kB / 0.5816 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.4645, allocations: 1.375 kB / 0.5816 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.4646, allocations: 52.95 kB / 0.5816 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.4647, allocations: 6.016 kB / 0.5816 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.4647, allocations: 15.55 kB / 0.5816 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.4648, allocations: 61.78 kB / 0.5817 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4649, allocations: 1.156 kB / 0.5817 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.4649, allocations: 3.938 kB / 0.5817 GB, free: 2.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.4649, allocations: 0 / 0.5817 GB, free: 2.984 MB / 430.1 MB 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.0003573/0.4652, allocations: 355.3 kB / 0.582 GB, free: 2.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4653, allocations: 9.219 kB / 0.5821 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.4653, allocations: 11.36 kB / 0.5821 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.4654, allocations: 172.4 kB / 0.5822 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4655, allocations: 5 kB / 0.5822 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.4655, allocations: 6.234 kB / 0.5822 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.4656, allocations: 46.2 kB / 0.5823 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4656, allocations: 0.6875 kB / 0.5823 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4656, allocations: 0.5625 kB / 0.5823 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4657, allocations: 1.281 kB / 0.5823 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.871e-05/0.4658, allocations: 19.23 kB / 0.5823 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.466, allocations: 258.4 kB / 0.5825 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.4661, allocations: 31.8 kB / 0.5826 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.4662, allocations: 16.52 kB / 0.5826 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00079/0.467, allocations: 474.8 kB / 0.583 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.467, allocations: 32.08 kB / 0.5831 GB, free: 1.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.467, allocations: 1 kB / 0.5831 GB, free: 1.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002716/0.4673, allocations: 65.34 kB / 0.5831 GB, free: 1.477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.4673, allocations: 52.09 kB / 0.5832 GB, free: 1.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.4674, allocations: 108.6 kB / 0.5833 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.4674, allocations: 33.7 kB / 0.5833 GB, free: 1.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.4674, allocations: 86.86 kB / 0.5834 GB, free: 1.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.4674, allocations: 1.359 kB / 0.5834 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.4675, allocations: 17.34 kB / 0.5834 GB, free: 1.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.4675, allocations: 314.2 kB / 0.5837 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.4676, allocations: 15.09 kB / 0.5837 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.4676, allocations: 7.719 kB / 0.5837 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.4677, allocations: 33.06 kB / 0.5838 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4677, allocations: 0 / 0.5838 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001117/0.4678, allocations: 64.72 kB / 0.5838 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4679, allocations: 4.875 kB / 0.5838 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4679, allocations: 4 kB / 0.5839 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4679, allocations: 0.875 kB / 0.5839 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.468, allocations: 6.609 kB / 0.5839 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.468, allocations: 0 / 0.5839 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.4681, allocations: 11.56 kB / 0.5839 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.4681, allocations: 1.062 kB / 0.5839 GB, free: 0.7695 MB / 430.1 MB 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 4.918e-05/0.4681, allocations: 112.7 kB / 0.584 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.4682, allocations: 1.688 kB / 0.584 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.4683, allocations: 65.52 kB / 0.584 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4683, allocations: 3.938 kB / 0.584 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4683, allocations: 1.5 kB / 0.584 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4683, allocations: 4.594 kB / 0.5841 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.4685, allocations: 161.9 kB / 0.5842 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4685, allocations: 0.7969 kB / 0.5842 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.4685, allocations: 5.875 kB / 0.5842 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4685, allocations: 0.7188 kB / 0.5842 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4685, allocations: 2.156 kB / 0.5842 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4686, allocations: 0 / 0.5842 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4686, allocations: 0.6562 kB / 0.5842 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.4687, allocations: 158.3 kB / 0.5844 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.4687, allocations: 79.53 kB / 0.5844 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4687, allocations: 1.375 kB / 0.5844 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.4688, allocations: 2.547 kB / 0.5844 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.4688, allocations: 2.984 kB / 0.5844 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.4689, allocations: 4.547 kB / 0.5845 GB, free: 160 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.064e-05/0.4689, allocations: 88.53 kB / 0.5845 GB, free: 80 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4689, allocations: 0 / 0.5845 GB, free: 80 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.4692, allocations: 17.3 kB / 0.5846 GB, free: 76 kB / 430.1 MB 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.0001702/0.4693, allocations: 122 kB / 0.5847 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.4695, allocations: 22.64 kB / 0.5847 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4695, allocations: 0 / 0.5847 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.4695, allocations: 10.94 kB / 0.5847 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4698, allocations: 4.594 kB / 0.5847 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.4702, allocations: 137.7 kB / 0.5848 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.4704, allocations: 0.6787 MB / 0.5855 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.935e-05/0.4705, allocations: 5.891 kB / 0.5855 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.4705, allocations: 10.23 kB / 0.5855 GB, free: 15.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4705, allocations: 0 / 0.5855 GB, free: 15.12 MB / 446.1 MB Notification: Performance of Templates: time 0.00334/0.4739, allocations: 0.6426 MB / 0.5861 GB, free: 15.03 MB / 446.1 MB 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)