Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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) 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) Running command: translateModel(VehicleInterfaces.Examples.FrontWheelDriveManualVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle") translateModel(VehicleInterfaces.Examples.FrontWheelDriveManualVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008731, allocations: 95.97 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03972/0.03972, allocations: 7.833 MB / 344.3 MB, free: 2.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.191e-05, allocations: 3.688 kB / 404.4 MB, free: 62.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08217, allocations: 52.21 MB / 456.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.4746, allocations: 119.3 MB / 0.5624 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4749, allocations: 91.44 kB / 0.5625 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8291/1.304, allocations: 224.4 MB / 0.7817 GB, free: 39.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.304, allocations: 0 / 0.7817 GB, free: 39.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009085/1.305, allocations: 212 kB / 0.7819 GB, free: 39.16 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2768 * Number of variables: 2768 Notification: Performance of Generate backend data structure: time 0.02843/1.333, allocations: 8.153 MB / 0.7899 GB, free: 30.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.334, allocations: 12.03 kB / 0.7899 GB, free: 30.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008484/1.342, allocations: 1.416 MB / 0.7913 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/1.362, allocations: 7.558 MB / 0.7986 GB, free: 21.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009169/1.363, allocations: 0.9193 MB / 0.7995 GB, free: 20.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005149/1.368, allocations: 1.019 MB / 0.8005 GB, free: 19.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04557/1.413, allocations: 14.66 MB / 0.8148 GB, free: 4.859 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006148/1.414, allocations: 39.58 kB / 0.8149 GB, free: 4.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003646/1.418, allocations: 432 kB / 0.8153 GB, free: 4.398 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009086/1.419, allocations: 0.6561 MB / 0.8159 GB, free: 3.738 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5373/1.956, allocations: 10.68 MB / 0.8264 GB, free: 80.48 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0754/2.032, allocations: 45.33 MB / 0.8706 GB, free: 64.61 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005176/2.037, allocations: 2.082 MB / 0.8727 GB, free: 63.88 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/2.039, allocations: 1.151 MB / 0.8738 GB, free: 63.39 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/2.039, allocations: 31.75 kB / 0.8738 GB, free: 63.39 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/2.039, allocations: 68.02 kB / 0.8739 GB, free: 63.33 MB / 458.8 MB Notification: Performance of pre-optimization done (n=203): time 4.548e-06/2.039, allocations: 0 / 0.8739 GB, free: 63.33 MB / 458.8 MB Notification: Performance of matching and sorting (n=236): time 0.02551/2.065, allocations: 12.23 MB / 0.8858 GB, free: 56.96 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/2.065, allocations: 0.5406 MB / 0.8864 GB, free: 56.32 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005849/2.071, allocations: 3.892 MB / 0.8902 GB, free: 54.81 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004682/2.071, allocations: 93.59 kB / 0.8902 GB, free: 54.74 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00389/2.075, allocations: 4.806 MB / 0.8949 GB, free: 51.2 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009128/2.076, allocations: 0.846 MB / 0.8958 GB, free: 50.58 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/2.076, allocations: 110.3 kB / 0.8959 GB, free: 50.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002583/2.076, allocations: 0.5128 MB / 0.8964 GB, free: 50.1 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/2.079, allocations: 1.49 MB / 0.8978 GB, free: 49.5 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/2.082, allocations: 4.306 MB / 0.902 GB, free: 45.11 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/2.085, allocations: 2.275 MB / 0.9042 GB, free: 44.22 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.984e-05/2.085, allocations: 27.94 kB / 0.9043 GB, free: 44.22 MB / 458.8 MB Notification: Performance of matching and sorting (n=688) (initialization): time 0.009941/2.095, allocations: 6.211 MB / 0.9103 GB, free: 41.69 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/2.095, allocations: 45.62 kB / 0.9104 GB, free: 41.69 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.642e-05/2.095, allocations: 106.7 kB / 0.9105 GB, free: 41.69 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/2.098, allocations: 1.488 MB / 0.9119 GB, free: 41.29 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/2.101, allocations: 1.105 MB / 0.913 GB, free: 41.16 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/2.104, allocations: 2.093 MB / 0.9151 GB, free: 39.95 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/2.109, allocations: 476.4 kB / 0.9155 GB, free: 39.81 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000792/2.11, allocations: 298.2 kB / 0.9158 GB, free: 39.77 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 432 * Number of states: 0 () * Number of discrete variables: 96 (driverEnvironment.ignition.y,transmission.clutch.free,$PRE.transmission.clutch.startForward,transmission.clutch.startForward,$PRE.transmission.clutch.startBackward,transmission.clutch.startBackward,$PRE.transmission.clutch.mode,transmission.clutch.mode,transmission.clutchLocked.y,brakes.brake_1.free,$PRE.brakes.brake_1.startForward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startBackward,brakes.brake_1.locked,$PRE.brakes.brake_1.mode,brakes.brake_1.mode,brakes.brake_2.free,$PRE.brakes.brake_2.startForward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startBackward,brakes.brake_2.locked,$PRE.brakes.brake_2.mode,brakes.brake_2.mode,brakes.brake_3.free,$PRE.brakes.brake_3.startForward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startBackward,brakes.brake_3.locked,$PRE.brakes.brake_3.mode,brakes.brake_3.mode,brakes.brake_4.free,$PRE.brakes.brake_4.startForward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startBackward,brakes.brake_4.locked,$PRE.brakes.brake_4.mode,brakes.brake_4.mode,transmission.shiftOutput.gear,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],powertrainMounts.chassisFrameToMount3.color[3],powertrainMounts.chassisFrameToMount3.color[2],powertrainMounts.chassisFrameToMount3.color[1],powertrainMounts.chassisFrameToMount2.color[3],powertrainMounts.chassisFrameToMount2.color[2],powertrainMounts.chassisFrameToMount2.color[1],powertrainMounts.chassisFrameToMount1.color[3],powertrainMounts.chassisFrameToMount1.color[2],powertrainMounts.chassisFrameToMount1.color[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],chassis.fixedTranslation3.color[3],chassis.fixedTranslation3.color[2],chassis.fixedTranslation3.color[1],chassis.fixedTranslation2.color[3],chassis.fixedTranslation2.color[2],chassis.fixedTranslation2.color[1],chassis.fixedTranslation1.color[3],chassis.fixedTranslation1.color[2],chassis.fixedTranslation1.color[1],chassis.fixedTranslation.color[3],chassis.fixedTranslation.color[2],chassis.fixedTranslation.color[1],chassis.ground.color[3],chassis.ground.color[2],chassis.ground.color[1],chassis.constraint.boxColor[3],chassis.constraint.boxColor[2],chassis.constraint.boxColor[1],chassis.body.sphereColor[3],chassis.body.sphereColor[2],chassis.body.sphereColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (622): * Single equations (assignments): 616 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 62} Notification: Performance of prepare postOptimizeDAE: time 0.0009707/2.111, allocations: 0.5526 MB / 0.9163 GB, free: 39.34 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008901/2.112, allocations: 451.1 kB / 0.9168 GB, free: 39.09 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/2.117, allocations: 3.206 MB / 0.9199 GB, free: 37.73 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/2.117, allocations: 25.27 kB / 0.9199 GB, free: 37.73 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/2.117, allocations: 3.531 kB / 0.9199 GB, free: 37.73 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/2.117, allocations: 13.12 kB / 0.9199 GB, free: 37.72 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/2.14, allocations: 13.42 MB / 0.933 GB, free: 29.65 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/2.14, allocations: 8 kB / 0.9331 GB, free: 29.64 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/2.142, allocations: 339.2 kB / 0.9334 GB, free: 29.35 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/2.144, allocations: 1.277 MB / 0.9346 GB, free: 28.32 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/2.144, allocations: 82.91 kB / 0.9347 GB, free: 28.25 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/2.146, allocations: 1.754 MB / 0.9364 GB, free: 26.58 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/2.146, allocations: 15.94 kB / 0.9364 GB, free: 26.56 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/2.152, allocations: 6.088 MB / 0.9424 GB, free: 20.25 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/2.155, allocations: 0.8133 MB / 0.9432 GB, free: 19.51 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007828/2.155, allocations: 87.95 kB / 0.9433 GB, free: 19.43 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/2.157, allocations: 213.7 kB / 0.9435 GB, free: 19.26 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005793/2.158, allocations: 374.7 kB / 0.9438 GB, free: 19.07 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/2.158, allocations: 97.67 kB / 0.9439 GB, free: 18.99 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004588/2.163, allocations: 3.252 MB / 0.9471 GB, free: 16.09 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.61e-07/2.163, allocations: 0 / 0.9471 GB, free: 16.09 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004735/2.168, allocations: 1.348 MB / 0.9484 GB, free: 14.75 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 10 (transmission.clutch.phi_rel,transmission.clutch.w_rel,chassis.constraint.s,chassis.constraint.v,driverEnvironment.acceleratorPosition.s,driverEnvironment.acceleratorPosition.v,driverEnvironment.clutchPosition.s,driverEnvironment.clutchPosition.v,driverEnvironment.brakePosition.s,driverEnvironment.brakePosition.v) * Number of discrete variables: 27 (transmission.clutch.free,transmission.clutch.startForward,transmission.clutch.startBackward,transmission.clutch.mode,transmission.clutchLocked.y,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,driverEnvironment.ignition.y,transmission.shiftOutput.gear) * Number of discrete states: 15 (transmission.clutch.mode,transmission.clutch.startForward,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.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_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,transmission.clutch.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 178 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004343/2.168, allocations: 255.5 kB / 0.9486 GB, free: 14.5 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005583/2.174, allocations: 3.848 MB / 0.9524 GB, free: 10.85 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/2.174, allocations: 192 / 0.9524 GB, free: 10.85 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003987/2.178, allocations: 2.034 MB / 0.9544 GB, free: 8.902 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/2.181, allocations: 0.6004 MB / 0.955 GB, free: 8.398 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02947/2.211, allocations: 12.61 MB / 0.9673 GB, free: 12.92 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008494/2.219, allocations: 5.606 MB / 0.9728 GB, free: 8.781 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003792/2.223, allocations: 1.102 MB / 0.9738 GB, free: 8.051 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007229/2.224, allocations: 278.8 kB / 0.9741 GB, free: 7.785 MB / 474.8 MB Notification: Performance of SimCode: time 1.283e-06/2.224, allocations: 0 / 0.9741 GB, free: 7.785 MB / 474.8 MB Notification: Performance of Templates: time 0.3944/2.618, allocations: 52.44 MB / 1.025 GB, free: 97.38 MB / 490.8 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe 2>&1)