Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 103 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.001223/0.001223, 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7997/0.7997, allocations: 132.2 MB / 423.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.5024 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3424, allocations: 80.19 MB / 0.5807 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002295/0.3447, allocations: 1.431 MB / 0.5821 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003602/0.3451, allocations: 207.8 kB / 0.5823 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.3451, allocations: 1.125 kB / 0.5823 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.3452, allocations: 3.938 kB / 0.5823 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.3452, allocations: 5.25 kB / 0.5823 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3455, allocations: 32.84 kB / 0.5824 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.3455, allocations: 30.12 kB / 0.5824 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.3456, allocations: 3.406 kB / 0.5824 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.3457, allocations: 13.2 kB / 0.5824 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.3457, allocations: 6.875 kB / 0.5824 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.3457, allocations: 3.062 kB / 0.5824 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.3458, allocations: 41.7 kB / 0.5825 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.3458, allocations: 4 kB / 0.5825 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.3459, allocations: 10.81 kB / 0.5825 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.346, allocations: 37.66 kB / 0.5825 GB, free: 25.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.346, allocations: 1.938 kB / 0.5825 GB, free: 25.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.346, allocations: 0 / 0.5825 GB, free: 25.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.346, allocations: 1.156 kB / 0.5825 GB, free: 25.79 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.0003693/0.3464, allocations: 348.5 kB / 0.5828 GB, free: 25.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3464, allocations: 10.91 kB / 0.5829 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.3465, allocations: 6.031 kB / 0.5829 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.741e-05/0.3465, allocations: 165.9 kB / 0.583 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3466, allocations: 3.219 kB / 0.583 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.3466, allocations: 1.812 kB / 0.583 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3467, allocations: 53.36 kB / 0.5831 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3468, allocations: 3.969 kB / 0.5831 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3468, allocations: 3.938 kB / 0.5831 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3468, allocations: 1.125 kB / 0.5831 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3469, allocations: 33.83 kB / 0.5831 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.3472, allocations: 247.5 kB / 0.5834 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.3473, allocations: 47.83 kB / 0.5834 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.3474, allocations: 21.41 kB / 0.5834 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.756e-05/0.3475, allocations: 83.48 kB / 0.5835 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.3475, allocations: 39.19 kB / 0.5835 GB, free: 24.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3475, allocations: 1.344 kB / 0.5835 GB, free: 24.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003496/0.3479, allocations: 79.3 kB / 0.5836 GB, free: 24.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.3479, allocations: 56.75 kB / 0.5837 GB, free: 24.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.307e-05/0.348, allocations: 103.1 kB / 0.5838 GB, free: 24.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.348, allocations: 28.52 kB / 0.5838 GB, free: 24.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.348, allocations: 89.11 kB / 0.5839 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.348, allocations: 1.156 kB / 0.5839 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.3481, allocations: 11.94 kB / 0.5839 GB, free: 24.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.3481, allocations: 320.8 kB / 0.5842 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.3482, allocations: 15.86 kB / 0.5842 GB, free: 23.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.3483, allocations: 21.7 kB / 0.5842 GB, free: 23.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3484, allocations: 40.03 kB / 0.5843 GB, free: 23.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3484, allocations: 1.031 kB / 0.5843 GB, free: 23.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001837/0.3486, allocations: 69.17 kB / 0.5843 GB, free: 23.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3486, allocations: 6.094 kB / 0.5843 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3487, allocations: 0 / 0.5843 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3487, allocations: 2.125 kB / 0.5843 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.3488, allocations: 10.02 kB / 0.5844 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3488, allocations: 2.344 kB / 0.5844 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.3488, allocations: 11.92 kB / 0.5844 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3488, allocations: 1.406 kB / 0.5844 GB, free: 23.88 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.492e-05/0.3489, allocations: 114.8 kB / 0.5845 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3489, allocations: 2.5 kB / 0.5845 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.3491, allocations: 72.69 kB / 0.5846 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3492, allocations: 0 / 0.5846 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3492, allocations: 0.5 kB / 0.5846 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3492, allocations: 6.516 kB / 0.5846 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.3493, allocations: 166 kB / 0.5847 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3493, allocations: 1.062 kB / 0.5847 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.3494, allocations: 9.984 kB / 0.5847 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3494, allocations: 0.5938 kB / 0.5847 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3494, allocations: 7.312 kB / 0.5847 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3494, allocations: 0 / 0.5847 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3494, allocations: 1.031 kB / 0.5847 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.3496, allocations: 168.5 kB / 0.5849 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.3496, allocations: 82.08 kB / 0.585 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3496, allocations: 1.719 kB / 0.585 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.3497, allocations: 9.234 kB / 0.585 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.3497, allocations: 1.531 kB / 0.585 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.3498, allocations: 4 kB / 0.585 GB, free: 23.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.221e-05/0.3498, allocations: 87.83 kB / 0.5851 GB, free: 23.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3498, allocations: 3.312 kB / 0.5851 GB, free: 23.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.35, allocations: 9.469 kB / 0.5851 GB, free: 23.14 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.0001276/0.3502, allocations: 99.97 kB / 0.5852 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.3504, allocations: 46.86 kB / 0.5852 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3504, allocations: 0.75 kB / 0.5852 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.3505, allocations: 19.17 kB / 0.5852 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3507, allocations: 10 kB / 0.5853 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.351, allocations: 135.1 kB / 0.5854 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3511, allocations: 0.6794 MB / 0.586 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.3511, allocations: 13 kB / 0.5861 GB, free: 22.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3511, allocations: 0 / 0.5861 GB, free: 22.17 MB / 446.1 MB Notification: Performance of Templates: time 0.001974/0.3531, allocations: 0.6489 MB / 0.5867 GB, free: 21.88 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)