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.01022/0.01022, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001869/0.001869, allocations: 187.4 kB / 16.67 MB, free: 5.918 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001185/0.001185, allocations: 51.14 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1215, allocations: 46.62 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.005399/0.127, allocations: 1.629 MB / 374.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000401/0.1274, allocations: 59.78 kB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1276, allocations: 4 kB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1278, allocations: 11.86 kB / 374.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.1279, allocations: 19.86 kB / 374.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.128, allocations: 11.97 kB / 374.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1282, allocations: 71.67 kB / 375 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1284, allocations: 19.98 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.814e-05/0.1285, allocations: 23.92 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1286, allocations: 31.84 kB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.1287, allocations: 8 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.1287, allocations: 4 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.1287, allocations: 4 kB / 375 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.1288, allocations: 31.86 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.129, allocations: 67.78 kB / 375.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.129, allocations: 0 / 375.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.129, allocations: 0 / 375.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1291, allocations: 7.938 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.0007053/0.1298, allocations: 363.3 kB / 375.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.1298, allocations: 8.031 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.1299, allocations: 8.844 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1303, allocations: 180.4 kB / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1303, allocations: 4.375 kB / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.1304, allocations: 16.31 kB / 375.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.1306, allocations: 66.17 kB / 375.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1306, allocations: 12.06 kB / 375.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1307, allocations: 7.938 kB / 375.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1307, allocations: 0 / 375.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1308, allocations: 35.97 kB / 375.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1319, allocations: 379.5 kB / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.132, allocations: 62.5 kB / 376.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.1321, allocations: 20.84 kB / 376.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1321, allocations: 0 / 376.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1322, allocations: 34.56 kB / 376.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.1322, allocations: 0 / 376.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.00111/0.1333, allocations: 0.5136 MB / 376.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.1334, allocations: 51.41 kB / 376.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1335, allocations: 121.9 kB / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1335, allocations: 25.7 kB / 377 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/0.1336, allocations: 99.97 kB / 377.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1337, allocations: 31.47 kB / 377.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.1338, allocations: 29.7 kB / 377.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1339, allocations: 322.8 kB / 377.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.134, allocations: 19.98 kB / 377.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.1341, allocations: 57.14 kB / 377.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1342, allocations: 89.08 kB / 377.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1342, allocations: 0 / 377.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002309/0.1345, allocations: 113.5 kB / 377.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.1345, allocations: 8.469 kB / 377.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1345, allocations: 0 / 377.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1346, allocations: 0 / 377.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1347, allocations: 27.92 kB / 377.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.1347, allocations: 8.031 kB / 377.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.1348, allocations: 11.94 kB / 377.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1348, allocations: 4 kB / 377.8 MB, free: 12.29 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 0.0001332/0.1349, allocations: 113.8 kB / 378 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.135, allocations: 8 kB / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.1351, allocations: 12.36 kB / 378 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1351, allocations: 7.938 kB / 378 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1351, allocations: 7.875 kB / 378 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1351, allocations: 0 / 378 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.1358, allocations: 406.6 kB / 378.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1358, allocations: 0 / 378.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1359, allocations: 16 kB / 378.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1359, allocations: 3.938 kB / 378.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1359, allocations: 8 kB / 378.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.136, allocations: 12.14 kB / 378.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.136, allocations: 0 / 378.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1364, allocations: 231.6 kB / 378.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.1365, allocations: 85.02 kB / 378.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1365, allocations: 4 kB / 378.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1366, allocations: 4 kB / 378.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.1367, allocations: 7.984 kB / 378.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1367, allocations: 4 kB / 378.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.1368, allocations: 99.2 kB / 378.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1368, allocations: 0 / 378.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.1372, allocations: 12 kB / 378.9 MB, free: 11.14 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.0001458/0.1373, allocations: 107.2 kB / 379 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1376, allocations: 64.17 kB / 379 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1376, allocations: 0 / 379 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.1376, allocations: 27.92 kB / 379.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.1381, allocations: 16.08 kB / 379.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.1389, allocations: 339.6 kB / 379.4 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1393, allocations: 0.7002 MB / 380.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.1394, allocations: 8.422 kB / 380.1 MB, free: 9.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.1394, allocations: 11.44 kB / 380.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.1395, allocations: 3.938 kB / 380.1 MB, free: 9.797 MB / 318.1 MB Notification: Performance of Templates: time 0.003937/0.1434, allocations: 0.6642 MB / 380.8 MB, free: 9.133 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)