Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) 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(VehicleInterfaces.Examples.ConventionalAutomaticVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle") translateModel(VehicleInterfaces.Examples.ConventionalAutomaticVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 112.2 kB / 15.99 MB, free: 6.348 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.001546/0.001546, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04625/0.04625, allocations: 8 MB / 298.7 MB, free: 7.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 68.08 kB / 360.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1965, allocations: 51.21 MB / 412 MB, free: 27.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalAutomaticVehicle): time 0.08747/0.284, allocations: 94.76 MB / 0.4949 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2528/0.5368, allocations: 18.06 MB / 0.5125 GB, free: 192 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01886/0.5557, allocations: 450.6 kB / 0.5129 GB, free: 192 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.5585, allocations: 0.708 MB / 0.5136 GB, free: 192 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.5611, allocations: 0.5795 MB / 0.5142 GB, free: 184 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006911/0.568, allocations: 4.143 MB / 0.5182 GB, free: 116 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004879/0.5729, allocations: 3.262 MB / 0.5214 GB, free: 88 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006605/0.5795, allocations: 3.965 MB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.5821, allocations: 1.356 MB / 0.5266 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.5848, allocations: 1.516 MB / 0.5281 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007968/0.5856, allocations: 363.8 kB / 0.5284 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.5866, allocations: 415.5 kB / 0.5288 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000723/0.5874, allocations: 0.8068 MB / 0.5296 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.5897, allocations: 1.561 MB / 0.5311 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.5932, allocations: 3.173 MB / 0.5342 GB, free: 13.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5932, allocations: 0 / 0.5342 GB, free: 13.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5932, allocations: 3.188 kB / 0.5342 GB, free: 13.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.972e-05/0.5933, allocations: 0 / 0.5342 GB, free: 13.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.005829/0.5991, allocations: 3.09 MB / 0.5373 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5992, allocations: 8.469 kB / 0.5373 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005176/0.5997, allocations: 314.2 kB / 0.5376 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/0.6024, allocations: 1.635 MB / 0.5392 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.6026, allocations: 186.9 kB / 0.5393 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.603, allocations: 256.7 kB / 0.5396 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/0.6079, allocations: 2.667 MB / 0.5422 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.6081, allocations: 24.03 kB / 0.5422 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.6083, allocations: 102.7 kB / 0.5423 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.6084, allocations: 117.1 kB / 0.5424 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003766/0.6122, allocations: 1.96 MB / 0.5443 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.6275, allocations: 10.19 MB / 0.5543 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.6293, allocations: 0.9254 MB / 0.5552 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.6303, allocations: 0.5635 MB / 0.5557 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.483e-05/0.6304, allocations: 19.78 kB / 0.5558 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.6305, allocations: 38.03 kB / 0.5558 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=99): time 2.926e-06/0.6305, allocations: 0 / 0.5558 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.01271/0.6432, allocations: 5.646 MB / 0.5613 GB, free: 10.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.6433, allocations: 90.11 kB / 0.5614 GB, free: 10.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.6466, allocations: 1.894 MB / 0.5632 GB, free: 8.219 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.6468, allocations: 69.7 kB / 0.5633 GB, free: 8.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.648, allocations: 1.336 MB / 0.5646 GB, free: 6.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00048/0.6485, allocations: 431.6 kB / 0.565 GB, free: 6.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000798/0.6493, allocations: 432.8 kB / 0.5654 GB, free: 5.957 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6495, allocations: 301.1 kB / 0.5657 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.6508, allocations: 0.6953 MB / 0.5664 GB, free: 4.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.6529, allocations: 1.586 MB / 0.568 GB, free: 2.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003164/0.6561, allocations: 2.162 MB / 0.5701 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/0.6562, allocations: 14.34 kB / 0.5701 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005284/0.6615, allocations: 2.743 MB / 0.5728 GB, free: 13.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.6615, allocations: 18.5 kB / 0.5728 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.746e-05/0.6616, allocations: 32 kB / 0.5728 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/0.664, allocations: 1.353 MB / 0.5741 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.6654, allocations: 415.8 kB / 0.5745 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.6682, allocations: 1.722 MB / 0.5762 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.6701, allocations: 203.5 kB / 0.5764 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.6704, allocations: 108 kB / 0.5765 GB, free: 10.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 57 (controlBus.driverBus.ignition,brakes.brake_4.mode,$PRE.brakes.brake_4.mode,brakes.brake_4.locked,brakes.brake_4.startBackward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startForward,brakes.brake_4.free,brakes.brake_3.mode,$PRE.brakes.brake_3.mode,brakes.brake_3.locked,brakes.brake_3.startBackward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startForward,brakes.brake_3.free,brakes.brake_2.mode,$PRE.brakes.brake_2.mode,brakes.brake_2.locked,brakes.brake_2.startBackward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startForward,brakes.brake_2.free,brakes.brake_1.mode,$PRE.brakes.brake_1.mode,brakes.brake_1.locked,brakes.brake_1.startBackward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startForward,brakes.brake_1.free,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,41)} Notification: Performance of prepare postOptimizeDAE: time 0.001422/0.6719, allocations: 0.6379 MB / 0.5771 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/0.6724, allocations: 217.2 kB / 0.5773 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.6762, allocations: 1.739 MB / 0.579 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.6763, allocations: 12 kB / 0.579 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6763, allocations: 0 / 0.579 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.6763, allocations: 7.969 kB / 0.5791 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009297/0.6856, allocations: 4.47 MB / 0.5834 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6857, allocations: 8.156 kB / 0.5834 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/0.6863, allocations: 152.7 kB / 0.5836 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.6885, allocations: 1.232 MB / 0.5848 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.6887, allocations: 43.89 kB / 0.5848 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.691, allocations: 1.515 MB / 0.5863 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.6911, allocations: 6.344 kB / 0.5863 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004936/0.696, allocations: 2.588 MB / 0.5888 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.697, allocations: 426.1 kB / 0.5892 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004542/0.6975, allocations: 44 kB / 0.5893 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6985, allocations: 99.94 kB / 0.5894 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004558/0.699, allocations: 195 kB / 0.5896 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.6991, allocations: 47.95 kB / 0.5896 GB, free: 12.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002155/0.7013, allocations: 1.222 MB / 0.5908 GB, free: 11.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7013, allocations: 0 / 0.5908 GB, free: 11.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001931/0.7032, allocations: 464 kB / 0.5912 GB, free: 10.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (chassis.body.s,chassis.dragForces.v_rel) * Number of discrete variables: 21 (brakes.brake_1.free,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_1.locked,brakes.brake_1.mode,brakes.brake_2.free,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_2.locked,brakes.brake_2.mode,brakes.brake_3.free,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_3.locked,brakes.brake_3.mode,brakes.brake_4.free,brakes.brake_4.startForward,brakes.brake_4.startBackward,brakes.brake_4.locked,brakes.brake_4.mode,controlBus.driverBus.ignition) * Number of discrete states: 12 (brakes.brake_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,34)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000446/0.7037, allocations: 189.5 kB / 0.5914 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004374/0.7081, allocations: 1.816 MB / 0.5932 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7081, allocations: 0 / 0.5932 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.7099, allocations: 0.8032 MB / 0.594 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.712, allocations: 327.4 kB / 0.5943 GB, free: 7.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.7225, allocations: 5.362 MB / 0.5995 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.7243, allocations: 1.581 MB / 0.6011 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.7248, allocations: 143.4 kB / 0.6012 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7248, allocations: 4 kB / 0.6012 GB, free: 0.75 MB / 446.1 MB Notification: Performance of Templates: time 0.06003/0.7848, allocations: 39.55 MB / 0.6398 GB, free: 9.227 MB / 494.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe 2>&1)