Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.006346/0.006346, allocations: 98.91 kB / 15.73 MB, free: 6.039 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.001184/0.001184, allocations: 192.5 kB / 16.67 MB, free: 5.965 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.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001199/0.001199, allocations: 49.7 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 46.62 MB / 373.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002995/0.11, allocations: 1.633 MB / 374.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002671/0.1103, allocations: 59.73 kB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.1104, allocations: 4 kB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1106, allocations: 11.86 kB / 374.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.1106, allocations: 23.84 kB / 374.9 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.1108, allocations: 7.984 kB / 374.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1109, allocations: 75.66 kB / 375 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.111, allocations: 19.98 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.1111, allocations: 23.92 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.1112, allocations: 27.86 kB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1112, allocations: 8 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.1112, allocations: 4 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.1113, allocations: 7.984 kB / 375.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.1113, allocations: 31.86 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1115, allocations: 67.72 kB / 375.1 MB, free: 15.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1115, allocations: 0 / 375.1 MB, free: 15.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1115, allocations: 0 / 375.1 MB, free: 15.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1115, allocations: 4 kB / 375.2 MB, free: 15.33 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.0005573/0.1121, allocations: 371.2 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1121, allocations: 8.031 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1122, allocations: 4.938 kB / 375.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1124, allocations: 184.3 kB / 375.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1124, allocations: 4.375 kB / 375.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1125, allocations: 16.31 kB / 375.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1126, allocations: 66.17 kB / 375.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1127, allocations: 4.188 kB / 375.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1127, allocations: 7.938 kB / 375.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1127, allocations: 0 / 375.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.1128, allocations: 35.97 kB / 375.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.1135, allocations: 379.6 kB / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1136, allocations: 58.56 kB / 376.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.1137, allocations: 21 kB / 376.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1137, allocations: 3.938 kB / 376.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.1137, allocations: 34.55 kB / 376.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1137, allocations: 0 / 376.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007058/0.1145, allocations: 0.513 MB / 376.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1145, allocations: 51.41 kB / 376.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1146, allocations: 121.8 kB / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1146, allocations: 25.7 kB / 377 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.1147, allocations: 104 kB / 377.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1147, allocations: 31.73 kB / 377.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.1148, allocations: 30.17 kB / 377.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1149, allocations: 322.8 kB / 377.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.115, allocations: 20 kB / 377.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.115, allocations: 57.14 kB / 377.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1151, allocations: 97 kB / 377.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1151, allocations: 3.938 kB / 377.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001524/0.1153, allocations: 109.5 kB / 377.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1153, allocations: 9.094 kB / 377.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1153, allocations: 0 / 377.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1154, allocations: 0 / 377.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.1154, allocations: 23.98 kB / 377.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.1155, allocations: 15.97 kB / 377.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.1155, allocations: 4 kB / 377.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1155, allocations: 4 kB / 377.8 MB, free: 12.28 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 7.513e-05/0.1156, allocations: 113.8 kB / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.1156, allocations: 7.953 kB / 378 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.1157, allocations: 16.36 kB / 378 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1157, allocations: 7.938 kB / 378 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1157, allocations: 3.938 kB / 378 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1157, allocations: 0 / 378 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.1162, allocations: 410.6 kB / 378.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1162, allocations: 0 / 378.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.1163, allocations: 16 kB / 378.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1163, allocations: 0 / 378.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1163, allocations: 8 kB / 378.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1163, allocations: 12.14 kB / 378.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1163, allocations: 3.938 kB / 378.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1166, allocations: 231.7 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1166, allocations: 85.06 kB / 378.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1166, allocations: 4 kB / 378.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.1167, allocations: 8 kB / 378.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.1167, allocations: 8.172 kB / 378.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1168, allocations: 4 kB / 378.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.1168, allocations: 99.3 kB / 378.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1168, allocations: 0 / 378.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1171, allocations: 12 kB / 378.9 MB, free: 11.12 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.000107/0.1172, allocations: 115.2 kB / 379 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1174, allocations: 59.86 kB / 379 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1174, allocations: 0 / 379 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.1174, allocations: 31.86 kB / 379.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1178, allocations: 8 kB / 379.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.1184, allocations: 331.2 kB / 379.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1187, allocations: 0.7002 MB / 380.1 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.399e-05/0.1187, allocations: 8.422 kB / 380.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.1188, allocations: 11.44 kB / 380.1 MB, free: 9.793 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1188, allocations: 0 / 380.1 MB, free: 9.793 MB / 318.1 MB Notification: Performance of Templates: time 0.003012/0.1218, allocations: 0.6691 MB / 380.8 MB, free: 9.125 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)