Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001277/0.001277, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001515/0.001515, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4054/0.4054, allocations: 54.98 MB / 325.3 MB, free: 0.8359 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.00055, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3156, allocations: 60.72 MB / 457.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0005665/0.3162, allocations: 286 kB / 457.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002832/0.3164, allocations: 149.6 kB / 457.7 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.3165, allocations: 0 / 457.7 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.3165, allocations: 3.938 kB / 457.7 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.108e-05/0.3165, allocations: 0.75 kB / 457.7 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3167, allocations: 26.16 kB / 457.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.062e-05/0.3168, allocations: 6.422 kB / 457.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.3168, allocations: 3.094 kB / 457.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.3169, allocations: 10.38 kB / 457.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.3169, allocations: 12.72 kB / 457.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.3169, allocations: 0 / 457.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.317, allocations: 25.77 kB / 457.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.317, allocations: 5.797 kB / 457.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.3171, allocations: 29.61 kB / 457.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.904e-05/0.3171, allocations: 17.39 kB / 457.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3171, allocations: 3.281 kB / 457.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3171, allocations: 0 / 457.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.3172, allocations: 0 / 457.9 MB, free: 38.86 MB / 382.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.000267/0.3174, allocations: 326.2 kB / 458.2 MB, free: 38.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.3175, allocations: 12.59 kB / 458.2 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.3175, allocations: 5.312 kB / 458.2 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.3176, allocations: 167.1 kB / 458.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3176, allocations: 3.281 kB / 458.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3176, allocations: 4.656 kB / 458.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.245e-05/0.3177, allocations: 44.03 kB / 458.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3177, allocations: 1.391 kB / 458.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3177, allocations: 1.406 kB / 458.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3178, allocations: 0.8125 kB / 458.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.3178, allocations: 14.61 kB / 458.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.3179, allocations: 159.8 kB / 458.6 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.318, allocations: 47.16 kB / 458.7 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.3181, allocations: 84.14 kB / 458.7 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.3181, allocations: 33.41 kB / 458.8 MB, free: 37.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3181, allocations: 0.6562 kB / 458.8 MB, free: 37.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001057/0.3192, allocations: 496.5 kB / 459.3 MB, free: 37.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.3192, allocations: 54.09 kB / 459.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.76e-05/0.3193, allocations: 98.47 kB / 459.4 MB, free: 37.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.3193, allocations: 30.98 kB / 459.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.27e-05/0.3193, allocations: 85.02 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.3193, allocations: 23.06 kB / 459.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-06/0.3193, allocations: 3.688 kB / 459.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.3194, allocations: 317.2 kB / 459.8 MB, free: 36.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.3194, allocations: 9.156 kB / 459.9 MB, free: 36.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.3194, allocations: 16.41 kB / 459.9 MB, free: 36.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.3195, allocations: 11.75 kB / 459.9 MB, free: 36.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3195, allocations: 3.188 kB / 459.9 MB, free: 36.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.587e-05/0.3196, allocations: 70.38 kB / 460 MB, free: 36.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3196, allocations: 5.156 kB / 460 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3196, allocations: 1.562 kB / 460 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.3196, allocations: 0 / 460 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.3197, allocations: 18.69 kB / 460 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3197, allocations: 2.531 kB / 460 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.3197, allocations: 8.047 kB / 460 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.3198, allocations: 3.219 kB / 460 MB, free: 36.93 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.3198, allocations: 113.8 kB / 460.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.3198, allocations: 0.5156 kB / 460.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.32, allocations: 90.81 kB / 460.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.32, allocations: 4.438 kB / 460.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.32, allocations: 0 / 460.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.32, allocations: 1.594 kB / 460.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.053e-05/0.3201, allocations: 167.1 kB / 460.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3201, allocations: 0.9062 kB / 460.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.3202, allocations: 20.94 kB / 460.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3202, allocations: 1.281 kB / 460.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.3202, allocations: 3.406 kB / 460.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3202, allocations: 0 / 460.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3202, allocations: 0 / 460.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.3203, allocations: 122.4 kB / 460.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.3204, allocations: 80.39 kB / 460.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3204, allocations: 2.438 kB / 460.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.3204, allocations: 3.969 kB / 460.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.3204, allocations: 2.938 kB / 460.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3205, allocations: 8.328 kB / 460.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.417e-05/0.3205, allocations: 76.78 kB / 460.7 MB, free: 36.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3205, allocations: 0.75 kB / 460.7 MB, free: 36.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002095/0.3207, allocations: 33.38 kB / 460.7 MB, free: 36.34 MB / 382.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 (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.0001457/0.3209, allocations: 127.7 kB / 460.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.321, allocations: 38.22 kB / 460.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.321, allocations: 3 kB / 460.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.321, allocations: 22 kB / 460.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.518e-05/0.3211, allocations: 6.531 kB / 460.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.3213, allocations: 158.2 kB / 461.1 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.893e-05/0.3214, allocations: 0.6806 MB / 461.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.3215, allocations: 8.969 kB / 461.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.3215, allocations: 10.03 kB / 461.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3215, allocations: 1.812 kB / 461.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of Templates: time 0.002647/0.3241, allocations: 0.8305 MB / 462.6 MB, free: 35.39 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: