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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.002099/0.0021, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04365/0.04365, allocations: 8.002 MB / 299.2 MB, free: 7.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.45 kB / 413.8 MB, free: 22.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 51.21 MB / 465 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.FrontWheelDriveManualVehicle): time 0.03404/0.1411, allocations: 28.27 MB / 493.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02073/0.1619, allocations: 8.056 MB / 0.4895 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007187/0.1691, allocations: 227.3 kB / 0.4898 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01685/0.186, allocations: 8.834 MB / 0.4984 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009259/0.1953, allocations: 2.657 MB / 0.501 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006047/0.2014, allocations: 2.406 MB / 0.5033 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2964/0.4978, allocations: 7.502 MB / 0.5107 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03233/0.5302, allocations: 19.65 MB / 0.5298 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01366/0.5439, allocations: 5.278 MB / 0.535 GB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.5557, allocations: 6.166 MB / 0.541 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005421/0.5611, allocations: 1.578 MB / 0.5426 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007712/0.5689, allocations: 2.054 MB / 0.5446 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009244/0.5782, allocations: 4.846 MB / 0.5493 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01688/0.5951, allocations: 6.071 MB / 0.5552 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0326/0.6277, allocations: 18.56 MB / 0.5734 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6278, allocations: 0 / 0.5734 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6278, allocations: 4 kB / 0.5734 GB, free: 14.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007968/0.6286, allocations: 0 / 0.5734 GB, free: 14.69 MB / 430.1 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.0389/0.6675, allocations: 10.67 MB / 0.5838 GB, free: 3.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/0.6676, allocations: 15.78 kB / 0.5838 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006989/0.6746, allocations: 1.198 MB / 0.585 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/0.6915, allocations: 5.787 MB / 0.5906 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/0.6928, allocations: 0.8886 MB / 0.5915 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004598/0.6975, allocations: 0.9801 MB / 0.5924 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04066/0.7382, allocations: 14.86 MB / 0.607 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006364/0.7388, allocations: 42.86 kB / 0.607 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003372/0.7422, allocations: 413.7 kB / 0.6074 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001164/0.7434, allocations: 0.9194 MB / 0.6083 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03062/0.7741, allocations: 11.03 MB / 0.6191 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0893/0.8634, allocations: 43.73 MB / 0.6618 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006224/0.8697, allocations: 2.028 MB / 0.6638 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/0.8722, allocations: 1.146 MB / 0.6649 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.8724, allocations: 26.67 kB / 0.6649 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.8725, allocations: 52.56 kB / 0.665 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 6.141e-06/0.8725, allocations: 4 kB / 0.665 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=218): time 0.0438/0.9163, allocations: 13.99 MB / 0.6786 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.9164, allocations: 128.3 kB / 0.6787 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009876/0.9263, allocations: 4.484 MB / 0.6831 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004472/0.9268, allocations: 93.62 kB / 0.6832 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005203/0.932, allocations: 4.96 MB / 0.688 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.9332, allocations: 0.7985 MB / 0.6888 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002371/0.9356, allocations: 1.135 MB / 0.6899 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9357, allocations: 309.1 kB / 0.6902 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/0.939, allocations: 1.686 MB / 0.6919 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005602/0.9446, allocations: 4.769 MB / 0.6965 GB, free: 14.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008529/0.9531, allocations: 6.608 MB / 0.703 GB, free: 7.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.095e-05/0.9532, allocations: 32 kB / 0.703 GB, free: 7.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01269/0.9659, allocations: 6.816 MB / 0.7097 GB, free: 1.102 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.9661, allocations: 55.98 kB / 0.7097 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/0.9663, allocations: 108 kB / 0.7098 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4407/1.407, allocations: 1.744 MB / 0.7115 GB, free: 183.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/1.412, allocations: 1.234 MB / 0.7127 GB, free: 183.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/1.415, allocations: 2.131 MB / 0.7148 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00529/1.42, allocations: 440.9 kB / 0.7152 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.421, allocations: 323.6 kB / 0.7155 GB, free: 182.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 491 * Number of states: 0 () * Number of discrete variables: 96 (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,transmission.clutch.mode,$PRE.transmission.clutch.mode,transmission.clutch.startBackward,$PRE.transmission.clutch.startBackward,transmission.clutch.startForward,$PRE.transmission.clutch.startForward,transmission.clutch.free,controlBus.transmissionBus.clutchLocked,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],controlBus.transmissionControlBus.currentGear,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 685 * 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 {(5,48)} Notification: Performance of prepare postOptimizeDAE: time 0.006476/1.428, allocations: 3.34 MB / 0.7188 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009352/1.429, allocations: 448.8 kB / 0.7192 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005923/1.435, allocations: 2.846 MB / 0.722 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/1.435, allocations: 15.56 kB / 0.722 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.435, allocations: 0.7969 kB / 0.722 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.436, allocations: 0.7067 MB / 0.7227 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006011/1.437, allocations: 66.62 kB / 0.7228 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.439, allocations: 190.2 kB / 0.723 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006185/1.439, allocations: 271.8 kB / 0.7232 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006413/1.446, allocations: 2.93 MB / 0.7261 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006074/1.452, allocations: 3.99 MB / 0.73 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001758/1.453, allocations: 1.084 MB / 0.731 GB, free: 177 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004294/1.458, allocations: 2.853 MB / 0.7338 GB, free: 176 MB / 0.545 GB Notification: Performance of Backend: time 5.11e-07/1.458, allocations: 0 / 0.7338 GB, free: 176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007541/1.465, allocations: 3.412 MB / 0.7372 GB, free: 174.8 MB / 0.545 GB Notification: Performance of SimCode: time 0.02745/1.493, allocations: 15.27 MB / 0.7521 GB, free: 167.5 MB / 0.545 GB Notification: Performance of Templates: time 0.0929/1.586, allocations: 53.97 MB / 0.8048 GB, free: 116.5 MB / 0.545 GB 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)