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.0008023/0.0008024, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008704/0.0008704, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0006846/0.0006846, allocations: 10.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2432, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001547/0.2448, allocations: 1.329 MB / 327.8 MB, free: 352 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.245, allocations: 61.56 kB / 327.9 MB, free: 300 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.2451, allocations: 5.219 kB / 327.9 MB, free: 296 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 8.714e-05/0.2452, allocations: 9.953 kB / 327.9 MB, free: 288 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.2452, allocations: 13.92 kB / 327.9 MB, free: 276 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.2454, allocations: 10.98 kB / 327.9 MB, free: 268 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.622e-05/0.2455, allocations: 60.05 kB / 328 MB, free: 232 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2456, allocations: 22.89 kB / 328 MB, free: 216 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.2456, allocations: 22.55 kB / 328 MB, free: 204 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.2457, allocations: 26.7 kB / 328 MB, free: 188 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.2457, allocations: 0 / 328 MB, free: 188 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.2458, allocations: 3.5 kB / 328 MB, free: 188 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.2458, allocations: 7.562 kB / 328 MB, free: 184 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.2458, allocations: 37.14 kB / 328.1 MB, free: 144 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 7.729e-05/0.2459, allocations: 55.33 kB / 328.1 MB, free: 104 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2459, allocations: 4 kB / 328.1 MB, free: 100 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2459, allocations: 0 / 328.1 MB, free: 100 kB / 254.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.2459, allocations: 0 / 328.1 MB, free: 100 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.0004145/0.2464, allocations: 346.5 kB / 328.5 MB, free: 15.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.2464, allocations: 9.25 kB / 328.5 MB, free: 15.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.2464, allocations: 9.547 kB / 328.5 MB, free: 15.72 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2466, allocations: 182.4 kB / 328.7 MB, free: 15.51 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.2467, allocations: 3.953 kB / 328.7 MB, free: 15.51 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2467, allocations: 13.38 kB / 328.7 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2469, allocations: 64.14 kB / 328.7 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2469, allocations: 5.031 kB / 328.7 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2469, allocations: 0.9688 kB / 328.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2469, allocations: 1 kB / 328.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.087e-05/0.247, allocations: 31.67 kB / 328.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.2479, allocations: 387.6 kB / 329.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.248, allocations: 58.22 kB / 329.2 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.2481, allocations: 16.67 kB / 329.2 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2481, allocations: 3.984 kB / 329.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2481, allocations: 43.69 kB / 329.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2481, allocations: 1.219 kB / 329.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009123/0.2491, allocations: 0.5173 MB / 329.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.2491, allocations: 53.25 kB / 329.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2492, allocations: 115.2 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2493, allocations: 27.05 kB / 330 MB, free: 14.2 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.2493, allocations: 89.7 kB / 330.1 MB, free: 14.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.2494, allocations: 35.92 kB / 330.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.2494, allocations: 5.188 kB / 330.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2495, allocations: 324.2 kB / 330.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/0.2496, allocations: 13.91 kB / 330.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.2497, allocations: 59.67 kB / 330.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.2497, allocations: 32.64 kB / 330.5 MB, free: 13.67 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2497, allocations: 5.125 kB / 330.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001832/0.2499, allocations: 104.2 kB / 330.6 MB, free: 13.6 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.25, allocations: 5.625 kB / 330.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.25, allocations: 1.297 kB / 330.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.25, allocations: 2.656 kB / 330.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.2501, allocations: 27.16 kB / 330.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2501, allocations: 5.172 kB / 330.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.2502, allocations: 1.969 kB / 330.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2502, allocations: 4.375 kB / 330.7 MB, free: 13.59 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 9.564e-05/0.2503, allocations: 126.4 kB / 330.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.2503, allocations: 7.188 kB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.2504, allocations: 10.28 kB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.2504, allocations: 4.984 kB / 330.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2504, allocations: 0 / 330.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2504, allocations: 5.391 kB / 330.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.2509, allocations: 416 kB / 331.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2509, allocations: 1.406 kB / 331.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.251, allocations: 15.62 kB / 331.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.251, allocations: 10.27 kB / 331.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.251, allocations: 2.625 kB / 331.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.251, allocations: 2.5 kB / 331.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.251, allocations: 1.125 kB / 331.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.2513, allocations: 238.9 kB / 331.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.2513, allocations: 87.56 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2514, allocations: 6.797 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.2514, allocations: 6.625 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.2515, allocations: 11.05 kB / 331.6 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2515, allocations: 3.406 kB / 331.6 MB, free: 12.67 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.023e-05/0.2516, allocations: 87.88 kB / 331.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2516, allocations: 1.125 kB / 331.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.2518, allocations: 17.66 kB / 331.7 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.0001194/0.2519, allocations: 105 kB / 331.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.2521, allocations: 52.55 kB / 331.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2521, allocations: 1.188 kB / 331.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.2522, allocations: 32.52 kB / 331.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.2525, allocations: 10.12 kB / 331.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.2531, allocations: 399 kB / 332.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.2534, allocations: 0.6955 MB / 333 MB, free: 11.38 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.2534, allocations: 4.469 kB / 333 MB, free: 11.38 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.2535, allocations: 12.44 kB / 333 MB, free: 11.37 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2535, allocations: 3.938 kB / 333 MB, free: 11.37 MB / 270.1 MB Notification: Performance of Templates: time 0.002823/0.2563, allocations: 0.6022 MB / 333.6 MB, free: 11.06 MB / 270.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)