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.001666/0.001666, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001907/0.001907, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8089/0.8089, allocations: 135.1 MB / 426.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.83 kB / 0.506 GB, free: 8.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3369, allocations: 80.91 MB / 0.585 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002507/0.3394, allocations: 1.449 MB / 0.5864 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.3403, allocations: 0.5643 MB / 0.587 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.3403, allocations: 0 / 0.587 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.3404, allocations: 4.438 kB / 0.587 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.3404, allocations: 6.062 kB / 0.587 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.3407, allocations: 51.56 kB / 0.587 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.3408, allocations: 24.5 kB / 0.5871 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3409, allocations: 11.28 kB / 0.5871 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.341, allocations: 14.34 kB / 0.5871 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.3411, allocations: 11.89 kB / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3411, allocations: 3.375 kB / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3412, allocations: 58.17 kB / 0.5871 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.3412, allocations: 8.078 kB / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.3413, allocations: 14.62 kB / 0.5872 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3414, allocations: 61.39 kB / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3414, allocations: 5.453 kB / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3414, allocations: 0 / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3415, allocations: 3.938 kB / 0.5872 GB, free: 23.53 MB / 446.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.0003819/0.3418, allocations: 352.4 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3419, allocations: 10.45 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.3419, allocations: 4.031 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.169e-05/0.342, allocations: 173.9 kB / 0.5878 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.342, allocations: 10.45 kB / 0.5878 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.342, allocations: 1 kB / 0.5878 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3422, allocations: 46.72 kB / 0.5878 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3422, allocations: 0.6562 kB / 0.5878 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3422, allocations: 1.125 kB / 0.5878 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3422, allocations: 0.625 kB / 0.5878 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.3423, allocations: 24.52 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.3426, allocations: 260.6 kB / 0.5881 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.3427, allocations: 33.25 kB / 0.5881 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.3427, allocations: 16.95 kB / 0.5881 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007203/0.3434, allocations: 473 kB / 0.5886 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.3435, allocations: 33.25 kB / 0.5886 GB, free: 22.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3435, allocations: 0 / 0.5886 GB, free: 22.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002526/0.3437, allocations: 69.42 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.3438, allocations: 51.41 kB / 0.5887 GB, free: 21.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.3438, allocations: 109.2 kB / 0.5888 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.3439, allocations: 25.7 kB / 0.5889 GB, free: 21.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.3439, allocations: 86.14 kB / 0.5889 GB, free: 21.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3439, allocations: 5.594 kB / 0.5889 GB, free: 21.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.3439, allocations: 14.19 kB / 0.589 GB, free: 21.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.344, allocations: 324 kB / 0.5893 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.344, allocations: 6.031 kB / 0.5893 GB, free: 21.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.3441, allocations: 14.05 kB / 0.5893 GB, free: 21.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.396e-05/0.3441, allocations: 30.81 kB / 0.5893 GB, free: 21.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3442, allocations: 1.844 kB / 0.5893 GB, free: 21.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.3443, allocations: 57.59 kB / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3443, allocations: 7.344 kB / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3443, allocations: 0 / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3443, allocations: 4 kB / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.3444, allocations: 7.453 kB / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3444, allocations: 1.094 kB / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.3445, allocations: 5.25 kB / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3445, allocations: 1.531 kB / 0.5894 GB, free: 21.25 MB / 446.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.878e-05/0.3445, allocations: 116.6 kB / 0.5895 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.3446, allocations: 3.562 kB / 0.5895 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.3447, allocations: 66.61 kB / 0.5896 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3447, allocations: 0 / 0.5896 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3447, allocations: 1.344 kB / 0.5896 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3447, allocations: 0 / 0.5896 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3449, allocations: 167.9 kB / 0.5897 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3449, allocations: 1.156 kB / 0.5897 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.3449, allocations: 9.578 kB / 0.5897 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3449, allocations: 0 / 0.5897 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3449, allocations: 1.344 kB / 0.5898 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3449, allocations: 0 / 0.5898 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3449, allocations: 6.344 kB / 0.5898 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.3451, allocations: 154.7 kB / 0.5899 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.3451, allocations: 82.41 kB / 0.59 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3451, allocations: 3.938 kB / 0.59 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.3452, allocations: 6.062 kB / 0.59 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.3452, allocations: 5.031 kB / 0.59 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3452, allocations: 0 / 0.59 GB, free: 20.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.832e-05/0.3453, allocations: 89.27 kB / 0.5901 GB, free: 20.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3453, allocations: 1.5 kB / 0.5901 GB, free: 20.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.3455, allocations: 11.25 kB / 0.5901 GB, free: 20.52 MB / 446.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.0001357/0.3457, allocations: 116.2 kB / 0.5902 GB, free: 20.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.3458, allocations: 22.92 kB / 0.5902 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3458, allocations: 1.594 kB / 0.5902 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.3459, allocations: 16.42 kB / 0.5902 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3461, allocations: 5.125 kB / 0.5902 GB, free: 20.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.3464, allocations: 158.5 kB / 0.5904 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.752e-05/0.3465, allocations: 0.6792 MB / 0.5911 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.3465, allocations: 8.938 kB / 0.5911 GB, free: 19.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3465, allocations: 2.375 kB / 0.5911 GB, free: 19.54 MB / 446.1 MB Notification: Performance of Templates: time 0.002326/0.3488, allocations: 0.8134 MB / 0.5919 GB, free: 19.14 MB / 446.1 MB 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)