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.001249/0.001249, allocations: 105.1 kB / 17.06 MB, free: 6.027 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.001217/0.001217, allocations: 195 kB / 18 MB, free: 5.109 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.435/1.435, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001342/0.001342, allocations: 47.94 kB / 327.8 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 46.63 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003715/0.1348, allocations: 1.62 MB / 376.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.1352, allocations: 67.72 kB / 376.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1353, allocations: 4 kB / 376.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.1355, allocations: 11.88 kB / 376.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.1356, allocations: 19.84 kB / 376.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.1358, allocations: 15.98 kB / 376.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.136, allocations: 67.7 kB / 376.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1361, allocations: 20 kB / 376.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.1362, allocations: 23.92 kB / 376.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.1363, allocations: 31.86 kB / 376.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1363, allocations: 4 kB / 376.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.1363, allocations: 4 kB / 376.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.1364, allocations: 15.92 kB / 376.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.1364, allocations: 27.86 kB / 376.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1366, allocations: 63.73 kB / 376.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1366, allocations: 0 / 376.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1366, allocations: 3.938 kB / 376.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1367, allocations: 0 / 376.5 MB, free: 2.582 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.0005533/0.1372, allocations: 367.4 kB / 376.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1373, allocations: 12.03 kB / 376.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.1373, allocations: 12.78 kB / 376.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1376, allocations: 176.3 kB / 377 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1376, allocations: 4.375 kB / 377 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.1376, allocations: 8.375 kB / 377 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1378, allocations: 66.23 kB / 377.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1378, allocations: 4.094 kB / 377.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1379, allocations: 7.938 kB / 377.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1379, allocations: 11.98 kB / 377.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.969e-05/0.138, allocations: 39.84 kB / 377.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007427/0.1387, allocations: 371.7 kB / 377.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.1389, allocations: 58.5 kB / 377.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.1389, allocations: 16.86 kB / 377.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1389, allocations: 4 kB / 377.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.139, allocations: 34.72 kB / 377.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.139, allocations: 0 / 377.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000827/0.1398, allocations: 0.5168 MB / 378.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1398, allocations: 51.41 kB / 378.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.14, allocations: 121.8 kB / 378.3 MB, free: 452 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.14, allocations: 25.7 kB / 378.3 MB, free: 420 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.14, allocations: 104.3 kB / 378.4 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1401, allocations: 39.47 kB / 378.5 MB, free: 272 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1401, allocations: 25.72 kB / 378.5 MB, free: 240 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2237/0.3638, allocations: 319.8 kB / 378.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.093e-05/0.3639, allocations: 13.22 kB / 378.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.364, allocations: 62.56 kB / 378.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3641, allocations: 82.59 kB / 379 MB, free: 12.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3641, allocations: 4.531 kB / 379 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002049/0.3643, allocations: 111.6 kB / 379.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3644, allocations: 6.375 kB / 379.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3644, allocations: 1.188 kB / 379.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.3644, allocations: 3.375 kB / 379.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3645, allocations: 21.62 kB / 379.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3646, allocations: 5.656 kB / 379.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.3646, allocations: 10.69 kB / 379.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3646, allocations: 6.562 kB / 379.1 MB, free: 12.72 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.252e-05/0.3647, allocations: 119.4 kB / 379.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3647, allocations: 6.312 kB / 379.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.3648, allocations: 9.828 kB / 379.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3648, allocations: 2.453 kB / 379.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3648, allocations: 6 kB / 379.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3648, allocations: 0.7969 kB / 379.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.3653, allocations: 408.5 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3653, allocations: 1.375 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-05/0.3654, allocations: 22.25 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3654, allocations: 2.75 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3654, allocations: 13.97 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3654, allocations: 1.344 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3654, allocations: 1.344 kB / 379.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.3656, allocations: 238 kB / 380 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.3657, allocations: 90.34 kB / 380 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3657, allocations: 2.656 kB / 380 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/0.3658, allocations: 1.406 kB / 380 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.3658, allocations: 11.69 kB / 380.1 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.3658, allocations: 2.969 kB / 380.1 MB, free: 12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.067e-05/0.3658, allocations: 96.41 kB / 380.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3658, allocations: 0 / 380.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.3661, allocations: 23.91 kB / 380.2 MB, free: 11.91 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 8.781e-05/0.3662, allocations: 98.31 kB / 380.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.3664, allocations: 63.09 kB / 380.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3664, allocations: 0.75 kB / 380.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.3664, allocations: 29.84 kB / 380.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3667, allocations: 16.27 kB / 380.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.3674, allocations: 335.2 kB / 380.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.3676, allocations: 0.6993 MB / 381.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.3676, allocations: 7.094 kB / 381.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.3677, allocations: 12.94 kB / 381.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3677, allocations: 3.938 kB / 381.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of Templates: time 0.003594/0.3713, allocations: 0.6693 MB / 382.1 MB, free: 10.81 MB / 318.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)