Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001194/0.001194, allocations: 90.48 kB / 16.31 MB, free: 5.66 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.00108/0.001079, allocations: 180.1 kB / 17.21 MB, free: 5.582 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.529/1.529, allocations: 205.4 MB / 223.4 MB, free: 5.516 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.0004692/0.0004696, allocations: 14.81 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001628/0.288, allocations: 1.325 MB / 329 MB, free: 376 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002323/0.2882, allocations: 70.64 kB / 329.1 MB, free: 316 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.2883, allocations: 1.125 kB / 329.1 MB, free: 316 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 9.163e-05/0.2884, allocations: 9 kB / 329.1 MB, free: 308 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.2885, allocations: 18.16 kB / 329.1 MB, free: 292 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.2886, allocations: 11.06 kB / 329.2 MB, free: 284 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2887, allocations: 64.02 kB / 329.2 MB, free: 244 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2888, allocations: 12.06 kB / 329.2 MB, free: 240 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.2889, allocations: 21.73 kB / 329.2 MB, free: 228 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.289, allocations: 23.58 kB / 329.3 MB, free: 212 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.289, allocations: 3.031 kB / 329.3 MB, free: 212 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.289, allocations: 7.188 kB / 329.3 MB, free: 208 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.289, allocations: 6.188 kB / 329.3 MB, free: 204 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.2891, allocations: 35.36 kB / 329.3 MB, free: 168 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 8.964e-05/0.2892, allocations: 55.73 kB / 329.4 MB, free: 128 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2892, allocations: 4 kB / 329.4 MB, free: 124 kB / 254.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2892, allocations: 0 / 329.4 MB, free: 124 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.2892, allocations: 0 / 329.4 MB, free: 124 kB / 254.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.0004167/0.2896, allocations: 346.7 kB / 329.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2897, allocations: 14.66 kB / 329.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.2897, allocations: 7.469 kB / 329.7 MB, free: 15.74 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2899, allocations: 182 kB / 329.9 MB, free: 15.53 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2899, allocations: 3.953 kB / 329.9 MB, free: 15.53 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.2899, allocations: 15 kB / 329.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2901, allocations: 63.77 kB / 330 MB, free: 15.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2901, allocations: 0 / 330 MB, free: 15.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2901, allocations: 4 kB / 330 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2901, allocations: 1.562 kB / 330 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.2902, allocations: 35.41 kB / 330 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.2909, allocations: 387.8 kB / 330.4 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.291, allocations: 53.56 kB / 330.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.2911, allocations: 21.28 kB / 330.5 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2911, allocations: 1.094 kB / 330.5 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2911, allocations: 35.59 kB / 330.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 9.81e-07/0.2911, allocations: 0 / 330.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007744/0.2919, allocations: 0.5154 MB / 331 MB, free: 14.44 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2919, allocations: 60.53 kB / 331.1 MB, free: 14.37 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2921, allocations: 111.2 kB / 331.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2921, allocations: 33.7 kB / 331.2 MB, free: 14.22 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.2921, allocations: 94.69 kB / 331.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.2922, allocations: 32.5 kB / 331.4 MB, free: 14.1 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2922, allocations: 0 / 331.4 MB, free: 14.1 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2923, allocations: 321 kB / 331.7 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.2924, allocations: 22.17 kB / 331.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.2924, allocations: 59.08 kB / 331.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/0.2925, allocations: 24.81 kB / 331.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2925, allocations: 1.531 kB / 331.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001609/0.2927, allocations: 107.7 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2927, allocations: 5.812 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2927, allocations: 5 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2927, allocations: 2.219 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.2928, allocations: 27.67 kB / 331.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2928, allocations: 5.594 kB / 331.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.2929, allocations: 6.469 kB / 331.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2929, allocations: 3.969 kB / 331.9 MB, free: 13.61 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.293, allocations: 118.2 kB / 332.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.2931, allocations: 12.03 kB / 332.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.2931, allocations: 12.36 kB / 332.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2931, allocations: 2.125 kB / 332.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2931, allocations: 0 / 332.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2931, allocations: 7.953 kB / 332.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.2936, allocations: 409.2 kB / 332.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2937, allocations: 1.219 kB / 332.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.2937, allocations: 19.75 kB / 332.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2938, allocations: 14.39 kB / 332.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2938, allocations: 10.23 kB / 332.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2938, allocations: 6.984 kB / 332.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2938, allocations: 1.156 kB / 332.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.294, allocations: 230.5 kB / 332.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.2941, allocations: 88.3 kB / 332.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.2941, allocations: 9.953 kB / 332.9 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.2942, allocations: 1.969 kB / 332.9 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2942, allocations: 13.02 kB / 332.9 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2942, allocations: 3.125 kB / 332.9 MB, free: 12.68 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.2943, allocations: 96.08 kB / 333 MB, free: 12.6 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2943, allocations: 4.062 kB / 333 MB, free: 12.59 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.2946, allocations: 12.88 kB / 333 MB, free: 12.59 MB / 270.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 (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.0001165/0.2947, allocations: 97.94 kB / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.2948, allocations: 56.83 kB / 333.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2948, allocations: 0.9688 kB / 333.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.2949, allocations: 29.14 kB / 333.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.2952, allocations: 13.41 kB / 333.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.2958, allocations: 402.7 kB / 333.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2961, allocations: 0.6925 MB / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.2961, allocations: 8.516 kB / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.2962, allocations: 12.25 kB / 334.3 MB, free: 11.38 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2962, allocations: 7.938 kB / 334.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of Templates: time 0.002631/0.2988, allocations: 0.5889 MB / 334.9 MB, free: 11.07 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)