Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 102.3 kB / 16.35 MB, free: 6.289 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.001338/0.001338, allocations: 196.2 kB / 17.3 MB, free: 5.863 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8148/0.8148, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.91 kB / 0.5068 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 80.92 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00178/0.3465, allocations: 0.5889 MB / 0.5863 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003314/0.3469, allocations: 154.9 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.3469, allocations: 1.219 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.3469, allocations: 1.406 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.029e-05/0.3469, allocations: 0 / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.3472, allocations: 47.42 kB / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.627e-05/0.3473, allocations: 19.39 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.3473, allocations: 2.688 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.3474, allocations: 4.094 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.3474, allocations: 14.36 kB / 0.5866 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3474, allocations: 1.031 kB / 0.5866 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.3475, allocations: 35.11 kB / 0.5866 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3475, allocations: 1.875 kB / 0.5866 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.3476, allocations: 7.312 kB / 0.5866 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.796e-05/0.3477, allocations: 29.19 kB / 0.5867 GB, free: 24.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3477, allocations: 4.562 kB / 0.5867 GB, free: 24.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3477, allocations: 0.9062 kB / 0.5867 GB, free: 24.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3477, allocations: 1.531 kB / 0.5867 GB, free: 24.94 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002902/0.348, allocations: 333.9 kB / 0.587 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.348, allocations: 11.3 kB / 0.587 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.3481, allocations: 11.27 kB / 0.587 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.3482, allocations: 161.8 kB / 0.5872 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3482, allocations: 1.75 kB / 0.5872 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3482, allocations: 8.609 kB / 0.5872 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.987e-05/0.3483, allocations: 44.72 kB / 0.5872 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3483, allocations: 192 / 0.5872 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3483, allocations: 9.312 kB / 0.5872 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3483, allocations: 1.75 kB / 0.5872 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.3484, allocations: 16.2 kB / 0.5872 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.3485, allocations: 161.9 kB / 0.5874 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.419e-05/0.3486, allocations: 45.02 kB / 0.5874 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.3486, allocations: 21.2 kB / 0.5875 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.931e-05/0.3487, allocations: 80.52 kB / 0.5875 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.3487, allocations: 35.66 kB / 0.5876 GB, free: 23.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3487, allocations: 0.875 kB / 0.5876 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001111/0.3498, allocations: 496.3 kB / 0.588 GB, free: 23.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.3499, allocations: 53.25 kB / 0.5881 GB, free: 23.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.599e-05/0.3499, allocations: 92.17 kB / 0.5882 GB, free: 23.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.3499, allocations: 26.89 kB / 0.5882 GB, free: 23.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.329e-05/0.3499, allocations: 81.27 kB / 0.5883 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.35, allocations: 27.55 kB / 0.5883 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.35, allocations: 19.47 kB / 0.5883 GB, free: 23.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.3501, allocations: 320.9 kB / 0.5886 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.3501, allocations: 11.47 kB / 0.5886 GB, free: 22.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.3501, allocations: 9.312 kB / 0.5886 GB, free: 22.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.3502, allocations: 42.16 kB / 0.5887 GB, free: 22.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3502, allocations: 0 / 0.5887 GB, free: 22.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.428e-05/0.3503, allocations: 70.95 kB / 0.5888 GB, free: 22.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3503, allocations: 9.5 kB / 0.5888 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3503, allocations: 2.219 kB / 0.5888 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3503, allocations: 0 / 0.5888 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.3504, allocations: 15.52 kB / 0.5888 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.3504, allocations: 1.312 kB / 0.5888 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.3505, allocations: 0.5312 kB / 0.5888 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3505, allocations: 4.781 kB / 0.5888 GB, free: 22.75 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 (8): * Single equations (assignments): 8 * 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.173e-05/0.3505, allocations: 115.6 kB / 0.5889 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.3505, allocations: 6.562 kB / 0.5889 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.3507, allocations: 88.59 kB / 0.589 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3507, allocations: 1.406 kB / 0.589 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3507, allocations: 0 / 0.589 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3507, allocations: 4.609 kB / 0.589 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.822e-05/0.3508, allocations: 163.2 kB / 0.5892 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3508, allocations: 3.938 kB / 0.5892 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.3509, allocations: 19.53 kB / 0.5892 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3509, allocations: 5.156 kB / 0.5892 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3509, allocations: 9.359 kB / 0.5892 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3509, allocations: 1.375 kB / 0.5892 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3509, allocations: 0.7188 kB / 0.5892 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3511, allocations: 115.5 kB / 0.5893 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.3511, allocations: 82.45 kB / 0.5894 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3511, allocations: 6.75 kB / 0.5894 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.433e-05/0.3512, allocations: 1.281 kB / 0.5894 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3512, allocations: 6.391 kB / 0.5894 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.3512, allocations: 3.375 kB / 0.5894 GB, free: 22.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.462e-05/0.3512, allocations: 81.91 kB / 0.5895 GB, free: 22.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3512, allocations: 0 / 0.5895 GB, free: 22.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.3514, allocations: 32.28 kB / 0.5895 GB, free: 22.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001575/0.3516, allocations: 134.5 kB / 0.5896 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3517, allocations: 40.11 kB / 0.5897 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3517, allocations: 1.219 kB / 0.5897 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/0.3517, allocations: 26.3 kB / 0.5897 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.3519, allocations: 8.5 kB / 0.5897 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.3521, allocations: 134.1 kB / 0.5898 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.285e-05/0.3522, allocations: 0.6806 MB / 0.5905 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.3523, allocations: 9.5 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.3523, allocations: 11.62 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3523, allocations: 1.281 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Templates: time 0.002807/0.3551, allocations: 0.8722 MB / 0.5914 GB, free: 20.43 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)