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.01218/0.01218, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002175/0.002175, allocations: 191.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.001406/0.001406, allocations: 55.91 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1367, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003902/0.1407, allocations: 1.663 MB / 374.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.142, allocations: 0.5228 MB / 375.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1422, allocations: 3.938 kB / 375.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1424, allocations: 11.86 kB / 375.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1425, allocations: 35.72 kB / 375.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.1428, allocations: 43.94 kB / 375.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.143, allocations: 115.6 kB / 375.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1432, allocations: 33.11 kB / 375.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1433, allocations: 43.72 kB / 375.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1435, allocations: 51.7 kB / 375.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.1435, allocations: 8 kB / 375.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.1436, allocations: 8 kB / 375.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.1436, allocations: 23.86 kB / 375.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.706e-05/0.1437, allocations: 43.73 kB / 375.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1439, allocations: 99.52 kB / 375.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1439, allocations: 0 / 375.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1439, allocations: 0 / 375.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.144, allocations: 4 kB / 375.9 MB, free: 1.844 MB / 318.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.0007925/0.1448, allocations: 423 kB / 376.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.1448, allocations: 8.031 kB / 376.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.1449, allocations: 16.75 kB / 376.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.1453, allocations: 216.6 kB / 376.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1454, allocations: 16.36 kB / 376.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.1454, allocations: 16.12 kB / 376.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.1458, allocations: 124.2 kB / 376.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1458, allocations: 0 / 376.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1458, allocations: 4 kB / 376.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.1458, allocations: 4 kB / 376.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.146, allocations: 67.89 kB / 376.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.147, allocations: 0.5476 MB / 377.3 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1474, allocations: 138.4 kB / 377.4 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1476, allocations: 60.75 kB / 377.5 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1476, allocations: 4 kB / 377.5 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1476, allocations: 34.56 kB / 377.5 MB, free: 8 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1476, allocations: 0 / 377.5 MB, free: 8 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.2946/0.4423, allocations: 0.5041 MB / 378 MB, free: 13.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.4423, allocations: 53.39 kB / 378.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4425, allocations: 158.8 kB / 378.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.4425, allocations: 29.33 kB / 378.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.4426, allocations: 107.8 kB / 378.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.4426, allocations: 48.8 kB / 378.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.4426, allocations: 30.45 kB / 378.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.4427, allocations: 326.4 kB / 378.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.4429, allocations: 49.31 kB / 378.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.443, allocations: 80.84 kB / 378.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.4433, allocations: 138.4 kB / 379 MB, free: 12.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4433, allocations: 2.047 kB / 379 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004156/0.4438, allocations: 178.8 kB / 379.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.4438, allocations: 9.406 kB / 379.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4438, allocations: 1.781 kB / 379.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.4438, allocations: 5.719 kB / 379.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.4441, allocations: 40.53 kB / 379.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.4441, allocations: 4.516 kB / 379.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.4442, allocations: 12.38 kB / 379.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.4442, allocations: 7.5 kB / 379.3 MB, free: 12.3 MB / 318.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 9.688e-05/0.4443, allocations: 120.9 kB / 379.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.4443, allocations: 17.28 kB / 379.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.4444, allocations: 17.45 kB / 379.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4444, allocations: 1.375 kB / 379.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4444, allocations: 0 / 379.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4444, allocations: 0.6094 kB / 379.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/0.4451, allocations: 0.4916 MB / 379.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4451, allocations: 0 / 379.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.4453, allocations: 39.81 kB / 380 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4453, allocations: 1.594 kB / 380 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4453, allocations: 5 kB / 380 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4453, allocations: 3.141 kB / 380 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4453, allocations: 0 / 380 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.4458, allocations: 325.7 kB / 380.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.4458, allocations: 89.56 kB / 380.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.4459, allocations: 6.234 kB / 380.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.446, allocations: 11.5 kB / 380.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.4461, allocations: 20.23 kB / 380.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4461, allocations: 3.812 kB / 380.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.868e-05/0.4462, allocations: 113.2 kB / 380.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4462, allocations: 1.031 kB / 380.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4464, allocations: 20.16 kB / 380.5 MB, free: 11.5 MB / 318.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 9.767e-05/0.4465, allocations: 101.7 kB / 380.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.447, allocations: 125.2 kB / 380.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.447, allocations: 0 / 380.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.4472, allocations: 70.36 kB / 380.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.4476, allocations: 46.44 kB / 380.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.4482, allocations: 332.5 kB / 381.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.4484, allocations: 0.7089 MB / 381.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.4485, allocations: 12.98 kB / 381.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.4485, allocations: 17.53 kB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4485, allocations: 0 / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of Templates: time 0.004843/0.4534, allocations: 1.727 MB / 383.7 MB, free: 10.38 MB / 318.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)