Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.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) 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(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001966/0.001966, allocations: 193.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.1 MB / 222.1 MB, free: 4.895 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 51.92 kB / 278.2 MB, free: 12.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3774, allocations: 46.62 MB / 324.8 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003156/0.3806, allocations: 1.72 MB / 326.6 MB, free: 488 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.3815, allocations: 0.5271 MB / 327.1 MB, free: 56 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.3816, allocations: 1.25 kB / 327.1 MB, free: 56 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 7.752e-05/0.3817, allocations: 13.33 kB / 327.1 MB, free: 44 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 5.746e-05/0.3818, allocations: 17.14 kB / 327.1 MB, free: 28 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.3819, allocations: 41.16 kB / 327.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.3822, allocations: 113.6 kB / 327.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3823, allocations: 33.3 kB / 327.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.3824, allocations: 40.52 kB / 327.3 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3825, allocations: 54.7 kB / 327.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.3825, allocations: 7.25 kB / 327.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.116e-05/0.3826, allocations: 8.344 kB / 327.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.3826, allocations: 22.62 kB / 327.4 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.3827, allocations: 41.77 kB / 327.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3829, allocations: 106.5 kB / 327.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3829, allocations: 0 / 327.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3829, allocations: 1.25 kB / 327.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3829, allocations: 0 / 327.6 MB, free: 15.71 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006856/0.3836, allocations: 428.5 kB / 328 MB, free: 15.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3836, allocations: 7.094 kB / 328 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.3837, allocations: 20.41 kB / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.384, allocations: 208.9 kB / 328.2 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.384, allocations: 6.812 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.384, allocations: 14.78 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3843, allocations: 126.1 kB / 328.4 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.3844, allocations: 5.125 kB / 328.4 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3844, allocations: 0.9688 kB / 328.4 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3844, allocations: 5.969 kB / 328.4 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.3846, allocations: 66.2 kB / 328.4 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/0.3855, allocations: 0.5562 MB / 329 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.3858, allocations: 121.3 kB / 329.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.386, allocations: 66.75 kB / 329.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.386, allocations: 1.5 kB / 329.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3861, allocations: 32.03 kB / 329.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3861, allocations: 0 / 329.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001231/0.3873, allocations: 0.5135 MB / 329.7 MB, free: 13.81 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3874, allocations: 57.48 kB / 329.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3875, allocations: 145.7 kB / 329.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3876, allocations: 31.05 kB / 330 MB, free: 13.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.3877, allocations: 108.9 kB / 330.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3877, allocations: 44.67 kB / 330.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.3878, allocations: 36.3 kB / 330.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3879, allocations: 325 kB / 330.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3881, allocations: 49.23 kB / 330.5 MB, free: 13.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.3883, allocations: 83.89 kB / 330.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.3886, allocations: 137.1 kB / 330.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3886, allocations: 3.938 kB / 330.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003823/0.389, allocations: 170.4 kB / 330.9 MB, free: 12.83 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.389, allocations: 4.406 kB / 330.9 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.389, allocations: 9.062 kB / 330.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3891, allocations: 6.531 kB / 330.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3892, allocations: 43.39 kB / 331 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3893, allocations: 2 kB / 331 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.3893, allocations: 11.55 kB / 331 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3894, allocations: 8.188 kB / 331 MB, free: 12.79 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001206/0.3895, allocations: 119.8 kB / 331.1 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.3895, allocations: 13.16 kB / 331.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.3896, allocations: 18.78 kB / 331.1 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3896, allocations: 6.125 kB / 331.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3896, allocations: 3.938 kB / 331.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3896, allocations: 5.109 kB / 331.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007913/0.3904, allocations: 499.1 kB / 331.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3904, allocations: 0 / 331.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3906, allocations: 28.2 kB / 331.7 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3906, allocations: 5.859 kB / 331.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3906, allocations: 5.625 kB / 331.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.3906, allocations: 6.25 kB / 331.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3906, allocations: 4 kB / 331.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.3912, allocations: 321 kB / 332 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.3913, allocations: 92.7 kB / 332.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3913, allocations: 1.75 kB / 332.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3915, allocations: 16.53 kB / 332.1 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3915, allocations: 12.67 kB / 332.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.3915, allocations: 6.906 kB / 332.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3916, allocations: 116.1 kB / 332.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3916, allocations: 0 / 332.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.3919, allocations: 20.62 kB / 332.3 MB, free: 11.72 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * 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 (12): * Single equations (assignments): 12 * 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.000135/0.392, allocations: 100.8 kB / 332.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.3924, allocations: 136.1 kB / 332.5 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3924, allocations: 96 / 332.5 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3927, allocations: 76.33 kB / 332.6 MB, free: 11.53 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.3931, allocations: 34.44 kB / 332.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.3939, allocations: 361.5 kB / 332.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3942, allocations: 0.7135 MB / 333.7 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.3943, allocations: 13.27 kB / 333.7 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.3944, allocations: 15.34 kB / 333.7 MB, free: 10.5 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3944, allocations: 0 / 333.7 MB, free: 10.5 MB / 270.1 MB Notification: Performance of Templates: time 0.004637/0.399, allocations: 1.601 MB / 335.3 MB, free: 9.199 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1)