Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001307/0.001307, allocations: 98.69 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.001585/0.001585, allocations: 177.3 kB / 15.95 MB, free: 216 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.412/1.412, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4127/0.4127, allocations: 54.97 MB / 325.3 MB, free: 0.7031 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.0005781/0.0005782, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3813, allocations: 60.72 MB / 457.3 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.0013/0.3826, allocations: 1.136 MB / 458.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.3833, allocations: 0.5527 MB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.3834, allocations: 1.094 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.3834, allocations: 0 / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.3835, allocations: 6.516 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3837, allocations: 39.02 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.3837, allocations: 16.3 kB / 459.1 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.3838, allocations: 9.578 kB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.3839, allocations: 9.844 kB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.384, allocations: 10.94 kB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.384, allocations: 4.156 kB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.3841, allocations: 50.28 kB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.507e-06/0.3841, allocations: 2.688 kB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.3841, allocations: 30.39 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.903e-05/0.3842, allocations: 41 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.3843, allocations: 0.5625 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3843, allocations: 3.219 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.3843, allocations: 0 / 459.2 MB, free: 37.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003438/0.3846, allocations: 350.4 kB / 459.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3847, allocations: 12.44 kB / 459.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.3847, allocations: 2.844 kB / 459.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.166e-05/0.3848, allocations: 168.4 kB / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3848, allocations: 0.7188 kB / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.3848, allocations: 0 / 459.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3849, allocations: 46.31 kB / 459.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.385, allocations: 0 / 459.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.385, allocations: 1.875 kB / 459.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.385, allocations: 0 / 459.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.3851, allocations: 30.19 kB / 459.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.3854, allocations: 258.1 kB / 460.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.3854, allocations: 33.23 kB / 460.1 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.3862, allocations: 0.4983 MB / 460.6 MB, free: 36.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.3862, allocations: 34.52 kB / 460.6 MB, free: 36.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3862, allocations: 0 / 460.6 MB, free: 36.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002255/0.3864, allocations: 69.77 kB / 460.7 MB, free: 36.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.3865, allocations: 59.41 kB / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.3865, allocations: 107.3 kB / 460.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.3865, allocations: 25.7 kB / 460.9 MB, free: 36.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.3866, allocations: 87.03 kB / 461 MB, free: 36.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3866, allocations: 10.69 kB / 461 MB, free: 36.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.3866, allocations: 1.875 kB / 461 MB, free: 36.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.3867, allocations: 314.8 kB / 461.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.3867, allocations: 13.2 kB / 461.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.3867, allocations: 13.95 kB / 461.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.3868, allocations: 11.66 kB / 461.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3868, allocations: 0 / 461.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.3869, allocations: 62.05 kB / 461.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3869, allocations: 2.969 kB / 461.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3869, allocations: 6.797 kB / 461.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.387, allocations: 0.5938 kB / 461.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.387, allocations: 7.094 kB / 461.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.387, allocations: 4.031 kB / 461.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.3871, allocations: 2.969 kB / 461.4 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3871, allocations: 3.75 kB / 461.4 MB, free: 35.89 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 (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 4.795e-05/0.3871, allocations: 110 kB / 461.5 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.3872, allocations: 7.844 kB / 461.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.3873, allocations: 74.67 kB / 461.6 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3873, allocations: 3.953 kB / 461.6 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3873, allocations: 1.125 kB / 461.6 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3874, allocations: 3.875 kB / 461.6 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.3875, allocations: 160.9 kB / 461.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3875, allocations: 0 / 461.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.3875, allocations: 5.906 kB / 461.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3875, allocations: 0 / 461.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3875, allocations: 5.281 kB / 461.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3876, allocations: 3.469 kB / 461.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3876, allocations: 5.828 kB / 461.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.3877, allocations: 147.5 kB / 461.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.3877, allocations: 88.48 kB / 462 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3877, allocations: 2.203 kB / 462 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.3878, allocations: 3.594 kB / 462 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.3878, allocations: 10.28 kB / 462 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.3878, allocations: 3.625 kB / 462 MB, free: 35.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.325e-05/0.3879, allocations: 84.64 kB / 462.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3879, allocations: 1.312 kB / 462.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.3881, allocations: 19.25 kB / 462.1 MB, free: 35.23 MB / 382.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.0001236/0.3882, allocations: 118.1 kB / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.3884, allocations: 25.33 kB / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3884, allocations: 0 / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.3884, allocations: 15.88 kB / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3886, allocations: 0 / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.3888, allocations: 144.6 kB / 462.4 MB, free: 35.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.3889, allocations: 0.6841 MB / 463.1 MB, free: 34.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.18e-05/0.389, allocations: 1.922 kB / 463.1 MB, free: 34.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.389, allocations: 10.41 kB / 463.1 MB, free: 34.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.389, allocations: 0 / 463.1 MB, free: 34.31 MB / 382.1 MB Notification: Performance of Templates: time 0.002459/0.3915, allocations: 0.623 MB / 463.8 MB, free: 34.27 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: