Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.00106/0.00106, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009598/0.0009599, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2056, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007052/0.2127, allocations: 6.219 MB / 407.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.2158, allocations: 2.162 MB / 409.8 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.2162, allocations: 27.88 kB / 409.8 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.2169, allocations: 425.4 kB / 410.2 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008012/0.2177, allocations: 472.9 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008735/0.2186, allocations: 0.5139 MB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.2199, allocations: 1.5 MB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.2206, allocations: 0.5318 MB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.2212, allocations: 0.572 MB / 413.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.2218, allocations: 0.6417 MB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.222, allocations: 128 kB / 414.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.2223, allocations: 168 kB / 414.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.2225, allocations: 310.8 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.223, allocations: 0.6411 MB / 415.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.2244, allocations: 1.64 MB / 417.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2244, allocations: 4 kB / 417.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2244, allocations: 0 / 417.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2244, allocations: 0 / 417.3 MB, free: 8.895 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002509/0.2269, allocations: 1.562 MB / 418.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.227, allocations: 15.88 kB / 418.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.2272, allocations: 143.2 kB / 419 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.2283, allocations: 0.7626 MB / 419.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.2283, allocations: 78.12 kB / 419.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.2285, allocations: 99.91 kB / 420 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.23, allocations: 0.9117 MB / 420.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.2301, allocations: 11.89 kB / 420.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.2302, allocations: 51.92 kB / 421 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.2302, allocations: 24 kB / 421 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.2314, allocations: 0.6325 MB / 421.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.2357, allocations: 3.201 MB / 424.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.237, allocations: 0.6156 MB / 425.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.2375, allocations: 294.7 kB / 425.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.2375, allocations: 16.64 kB / 425.7 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006523/0.2382, allocations: 340.4 kB / 426.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.534e-06/0.2382, allocations: 0 / 426.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.00563/0.2439, allocations: 3.061 MB / 429.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2439, allocations: 68.39 kB / 429.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.2449, allocations: 0.9273 MB / 430.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.245, allocations: 45.7 kB / 430.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.2454, allocations: 0.5117 MB / 430.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.2456, allocations: 346.9 kB / 431 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.2458, allocations: 154.7 kB / 431.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.246, allocations: 345.9 kB / 431.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.2465, allocations: 269.9 kB / 431.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.2471, allocations: 433.3 kB / 432.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2483, allocations: 0.7444 MB / 432.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2483, allocations: 0 / 432.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001782/0.2501, allocations: 1.033 MB / 434 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2502, allocations: 4 kB / 434 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2502, allocations: 4 kB / 434 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.2506, allocations: 153.7 kB / 434.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/0.2514, allocations: 203.7 kB / 434.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.255, allocations: 3.988 MB / 438.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.2554, allocations: 31.98 kB / 438.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.2555, allocations: 36.08 kB / 438.4 MB, free: 3.043 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timeTableTorqueInclination.nextTimeEvent,$whenCondition1,timeTableTorqueInclination.nextTimeEventScaled,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004097/0.2559, allocations: 321.5 kB / 438.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.256, allocations: 106.7 kB / 438.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.2578, allocations: 0.9478 MB / 439.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.2578, allocations: 11.97 kB / 439.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2578, allocations: 0 / 439.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.2581, allocations: 235.7 kB / 440 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.2583, allocations: 20 kB / 440 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.2586, allocations: 19.98 kB / 440 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.2588, allocations: 76.83 kB / 440.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002284/0.2611, allocations: 1.069 MB / 441.2 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002061/0.2631, allocations: 1.373 MB / 442.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005499/0.2637, allocations: 343.8 kB / 442.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007344/0.2644, allocations: 0.663 MB / 443.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of Backend: time 4.01e-07/0.2645, allocations: 0 / 443.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.2671, allocations: 1.271 MB / 444.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 0.00358/0.2706, allocations: 2.963 MB / 447.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01983/0.2905, allocations: 12.14 MB / 459.9 MB, free: 13.62 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1)