Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001224/0.001224, allocations: 110.5 kB / 16.37 MB, free: 6.016 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.001268/0.001268, allocations: 195.1 kB / 17.31 MB, free: 5.613 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8047/0.8047, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.84 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3753, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003125/0.3785, allocations: 1.455 MB / 0.5829 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3795, allocations: 0.5694 MB / 0.5835 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.3796, allocations: 0 / 0.5835 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.3797, allocations: 6.281 kB / 0.5835 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.3797, allocations: 4.719 kB / 0.5835 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.3801, allocations: 51.33 kB / 0.5835 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.3802, allocations: 31.39 kB / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3803, allocations: 4.844 kB / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3804, allocations: 22.28 kB / 0.5836 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.3805, allocations: 16.52 kB / 0.5836 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3805, allocations: 2.281 kB / 0.5836 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3806, allocations: 55.58 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.3806, allocations: 4.875 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.3807, allocations: 15.61 kB / 0.5837 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.3808, allocations: 62.61 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3808, allocations: 0 / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3809, allocations: 1.438 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3809, allocations: 0 / 0.5837 GB, free: 25.81 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.0003886/0.3813, allocations: 357 kB / 0.5841 GB, free: 25.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3813, allocations: 10.66 kB / 0.5841 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.3813, allocations: 2.344 kB / 0.5841 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.3814, allocations: 166.8 kB / 0.5843 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3814, allocations: 1.656 kB / 0.5843 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3815, allocations: 4.375 kB / 0.5843 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.3816, allocations: 55.16 kB / 0.5843 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3816, allocations: 0 / 0.5843 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3816, allocations: 11.31 kB / 0.5843 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3816, allocations: 0 / 0.5843 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.3817, allocations: 15.86 kB / 0.5843 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.382, allocations: 255.3 kB / 0.5846 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/0.3821, allocations: 32.55 kB / 0.5846 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.3822, allocations: 21.09 kB / 0.5846 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.3829, allocations: 474.2 kB / 0.5851 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3829, allocations: 33.19 kB / 0.5851 GB, free: 24.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3829, allocations: 0 / 0.5851 GB, free: 24.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002339/0.3831, allocations: 60.69 kB / 0.5852 GB, free: 24.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3832, allocations: 56.67 kB / 0.5852 GB, free: 24.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.3832, allocations: 106.6 kB / 0.5853 GB, free: 24.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3833, allocations: 29.08 kB / 0.5854 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.3833, allocations: 93.09 kB / 0.5854 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.3833, allocations: 5.219 kB / 0.5854 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.3833, allocations: 16.06 kB / 0.5855 GB, free: 23.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.3834, allocations: 316.7 kB / 0.5858 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.3835, allocations: 7.031 kB / 0.5858 GB, free: 23.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.3835, allocations: 14.42 kB / 0.5858 GB, free: 23.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.3836, allocations: 30.89 kB / 0.5858 GB, free: 23.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3836, allocations: 0 / 0.5858 GB, free: 23.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001011/0.3837, allocations: 54.7 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3837, allocations: 5.969 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3837, allocations: 0.5312 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3837, allocations: 1.156 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.3838, allocations: 8.906 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3838, allocations: 0 / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.3839, allocations: 11.39 kB / 0.5859 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3839, allocations: 0 / 0.5859 GB, free: 23.53 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 5.301e-05/0.3839, allocations: 117.5 kB / 0.586 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.384, allocations: 2.688 kB / 0.586 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.3841, allocations: 61.77 kB / 0.5861 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3841, allocations: 3.156 kB / 0.5861 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3841, allocations: 4 kB / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3841, allocations: 0 / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.3843, allocations: 172.2 kB / 0.5862 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3843, allocations: 3.938 kB / 0.5862 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.3843, allocations: 4.906 kB / 0.5862 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3843, allocations: 1.719 kB / 0.5863 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3843, allocations: 0 / 0.5863 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3844, allocations: 6.531 kB / 0.5863 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3844, allocations: 0 / 0.5863 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.3845, allocations: 155.2 kB / 0.5864 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.3845, allocations: 80.67 kB / 0.5865 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3845, allocations: 2.562 kB / 0.5865 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.3846, allocations: 3.984 kB / 0.5865 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.3846, allocations: 3.75 kB / 0.5865 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3846, allocations: 0 / 0.5865 GB, free: 22.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.81e-05/0.3847, allocations: 85.03 kB / 0.5866 GB, free: 22.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3847, allocations: 0 / 0.5866 GB, free: 22.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3849, allocations: 17.42 kB / 0.5866 GB, free: 22.8 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.0001532/0.3851, allocations: 112.1 kB / 0.5867 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.3852, allocations: 25.17 kB / 0.5867 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3852, allocations: 2.156 kB / 0.5867 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.3853, allocations: 11.75 kB / 0.5867 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.3855, allocations: 5.156 kB / 0.5867 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.3858, allocations: 123.2 kB / 0.5869 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.3859, allocations: 0.6792 MB / 0.5875 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.294e-05/0.386, allocations: 5.828 kB / 0.5875 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.386, allocations: 15.09 kB / 0.5875 GB, free: 21.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.386, allocations: 0 / 0.5875 GB, free: 21.85 MB / 446.1 MB Notification: Performance of Templates: time 0.002913/0.3889, allocations: 0.6669 MB / 0.5882 GB, free: 21.54 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)