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.000823/0.000823, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0008795/0.0008795, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6658/0.6658, allocations: 132.4 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 15.98 kB / 0.5034 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3288, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001229/0.3301, allocations: 1.143 MB / 0.5842 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.3305, allocations: 187.6 kB / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.3305, allocations: 2.25 kB / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.3305, allocations: 11.05 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.3306, allocations: 3.984 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3308, allocations: 26.34 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.3308, allocations: 23.5 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.433e-05/0.3309, allocations: 3.328 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.3309, allocations: 9.078 kB / 0.5844 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.331, allocations: 13.66 kB / 0.5845 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.331, allocations: 4.953 kB / 0.5845 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.3311, allocations: 28.56 kB / 0.5845 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.3311, allocations: 5.219 kB / 0.5845 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.3311, allocations: 27.89 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.168e-05/0.3312, allocations: 26.06 kB / 0.5845 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3312, allocations: 1.812 kB / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3312, allocations: 0 / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.3312, allocations: 0 / 0.5846 GB, free: 2.906 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.0003057/0.3315, allocations: 345.3 kB / 0.5849 GB, free: 2.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.3316, allocations: 8.938 kB / 0.5849 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.3316, allocations: 0.8438 kB / 0.5849 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.102e-05/0.3317, allocations: 174.2 kB / 0.5851 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3317, allocations: 4.656 kB / 0.5851 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3317, allocations: 2.344 kB / 0.5851 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3318, allocations: 57.53 kB / 0.5851 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3319, allocations: 0 / 0.5851 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3319, allocations: 0 / 0.5851 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3319, allocations: 1.859 kB / 0.5851 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.332, allocations: 42.2 kB / 0.5852 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.3323, allocations: 263.4 kB / 0.5854 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3324, allocations: 45.78 kB / 0.5855 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.3325, allocations: 33.31 kB / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.3325, allocations: 79.92 kB / 0.5856 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.3325, allocations: 32.34 kB / 0.5856 GB, free: 1.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3326, allocations: 0 / 0.5856 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003032/0.3329, allocations: 99.98 kB / 0.5857 GB, free: 1.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.3329, allocations: 60 kB / 0.5857 GB, free: 1.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.569e-05/0.3329, allocations: 101.9 kB / 0.5858 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.333, allocations: 25.7 kB / 0.5859 GB, free: 1.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.333, allocations: 82.52 kB / 0.5859 GB, free: 1.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.333, allocations: 9.672 kB / 0.586 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.333, allocations: 0 / 0.586 GB, free: 1.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.428e-05/0.333, allocations: 317.5 kB / 0.5863 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.3331, allocations: 22.67 kB / 0.5863 GB, free: 1.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.3332, allocations: 23.81 kB / 0.5863 GB, free: 1.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.727e-05/0.3333, allocations: 26.66 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3333, allocations: 1.219 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001639/0.3334, allocations: 80.77 kB / 0.5864 GB, free: 1.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3335, allocations: 5.062 kB / 0.5864 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3335, allocations: 1.094 kB / 0.5864 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.3335, allocations: 0.5625 kB / 0.5864 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.3336, allocations: 15.58 kB / 0.5864 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3336, allocations: 0 / 0.5864 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.3336, allocations: 16.78 kB / 0.5864 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.3336, allocations: 0.7812 kB / 0.5864 GB, free: 1.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.3337, allocations: 113 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.3337, allocations: 6.469 kB / 0.5866 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.3339, allocations: 80.89 kB / 0.5866 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3339, allocations: 4.031 kB / 0.5866 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3339, allocations: 1.594 kB / 0.5866 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3339, allocations: 0 / 0.5866 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.334, allocations: 165.1 kB / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.334, allocations: 0 / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.3341, allocations: 11.47 kB / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3341, allocations: 5.219 kB / 0.5868 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.3341, allocations: 0 / 0.5868 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3341, allocations: 5.469 kB / 0.5868 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3341, allocations: 4 kB / 0.5868 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.3343, allocations: 173.3 kB / 0.587 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.3343, allocations: 78.38 kB / 0.5871 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.3344, allocations: 6.016 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.3344, allocations: 7.359 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.3345, allocations: 3.359 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3345, allocations: 0.7188 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.968e-05/0.3345, allocations: 84.53 kB / 0.5872 GB, free: 420 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3345, allocations: 0 / 0.5872 GB, free: 420 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.3347, allocations: 14.02 kB / 0.5872 GB, free: 416 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 (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.0001053/0.3348, allocations: 107.1 kB / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.335, allocations: 51.45 kB / 0.5873 GB, free: 312 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.335, allocations: 0.6562 kB / 0.5873 GB, free: 312 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.3351, allocations: 25.48 kB / 0.5873 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.3353, allocations: 6.25 kB / 0.5874 GB, free: 304 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.3355, allocations: 112.3 kB / 0.5875 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.3357, allocations: 0.6759 MB / 0.5881 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.213e-05/0.3357, allocations: 6.219 kB / 0.5881 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.3358, allocations: 12.38 kB / 0.5881 GB, free: 15.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3358, allocations: 0 / 0.5881 GB, free: 15.47 MB / 446.1 MB Notification: Performance of Templates: time 0.002161/0.3379, allocations: 496.3 kB / 0.5886 GB, free: 15.4 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)