Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.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.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009795/0.009795, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.002169/0.002169, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.524/1.524, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001098/0.001098, allocations: 50.83 kB / 326.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09562, allocations: 46.62 MB / 373.2 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003121/0.09879, allocations: 1.629 MB / 374.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002706/0.09909, allocations: 71.77 kB / 374.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.09916, allocations: 3.938 kB / 374.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.09929, allocations: 3.938 kB / 374.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.09935, allocations: 19.84 kB / 374.9 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.09949, allocations: 15.98 kB / 374.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.09962, allocations: 67.67 kB / 375 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.09975, allocations: 23.97 kB / 375 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.09979, allocations: 23.92 kB / 375 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.09987, allocations: 23.86 kB / 375 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.09989, allocations: 8 kB / 375 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.09992, allocations: 4 kB / 375 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.09994, allocations: 8 kB / 375 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.09999, allocations: 31.86 kB / 375.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1001, allocations: 71.66 kB / 375.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1002, allocations: 7.938 kB / 375.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1002, allocations: 0 / 375.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1002, allocations: 0 / 375.2 MB, free: 15.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004492/0.1006, allocations: 363.2 kB / 375.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1007, allocations: 8.031 kB / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1007, allocations: 4.938 kB / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.101, allocations: 180.3 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.101, allocations: 8.375 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.101, allocations: 12.31 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1012, allocations: 74.17 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1012, allocations: 4.188 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1012, allocations: 3.938 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1012, allocations: 0 / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.1013, allocations: 43.91 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.102, allocations: 371.7 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.453e-05/0.1021, allocations: 62.5 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.1021, allocations: 20.84 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.1021, allocations: 0 / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1021, allocations: 38.56 kB / 376.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.1022, allocations: 0 / 376.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006982/0.1029, allocations: 0.5093 MB / 376.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.1029, allocations: 55.41 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.103, allocations: 121.7 kB / 377 MB, free: 13.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.103, allocations: 26.17 kB / 377 MB, free: 13.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.1031, allocations: 104 kB / 377.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1031, allocations: 31.73 kB / 377.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1032, allocations: 25.72 kB / 377.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1033, allocations: 322.8 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.1033, allocations: 27.94 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.1034, allocations: 53.14 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1035, allocations: 93.06 kB / 377.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1035, allocations: 0 / 377.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001478/0.1037, allocations: 109.5 kB / 377.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1037, allocations: 8 kB / 377.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1037, allocations: 0 / 377.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1037, allocations: 4 kB / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.1038, allocations: 23.92 kB / 377.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1038, allocations: 8.031 kB / 377.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.1039, allocations: 4 kB / 377.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1039, allocations: 4 kB / 377.8 MB, free: 12.4 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 8.705e-05/0.104, allocations: 121.8 kB / 378 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.104, allocations: 7.953 kB / 378 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.1041, allocations: 16.36 kB / 378 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1041, allocations: 3.938 kB / 378 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1041, allocations: 3.938 kB / 378 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1041, allocations: 0 / 378 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.1046, allocations: 414.6 kB / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1046, allocations: 0 / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.1047, allocations: 19.94 kB / 378.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1047, allocations: 4 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1047, allocations: 3.984 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1047, allocations: 8.156 kB / 378.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1047, allocations: 0 / 378.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.105, allocations: 239.7 kB / 378.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.1051, allocations: 85.09 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1051, allocations: 0 / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1052, allocations: 4 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.1052, allocations: 15.92 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1052, allocations: 4 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.1053, allocations: 95.3 kB / 378.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1053, allocations: 0 / 378.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1055, allocations: 16 kB / 378.9 MB, free: 11.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0001256/0.1057, allocations: 103.5 kB / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1058, allocations: 63.8 kB / 379 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1058, allocations: 0 / 379 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.1059, allocations: 31.92 kB / 379.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1062, allocations: 19.88 kB / 379.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.1069, allocations: 327.2 kB / 379.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1073, allocations: 0.7002 MB / 380.1 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.927e-05/0.1073, allocations: 8.422 kB / 380.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.1073, allocations: 11.44 kB / 380.1 MB, free: 9.902 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1074, allocations: 0 / 380.1 MB, free: 9.902 MB / 318.1 MB Notification: Performance of Templates: time 0.003058/0.1104, allocations: 0.6652 MB / 380.8 MB, free: 9.238 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)