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.001361/0.001366, allocations: 114.3 kB / 16.42 MB, free: 6.5 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.001345/0.001345, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04391/0.04391, allocations: 8.014 MB / 299.2 MB, free: 7.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.89 kB / 413.8 MB, free: 22.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08082/0.08214, allocations: 51.21 MB / 465 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.FrontWheelDriveManualVehicle): time 0.02984/0.112, allocations: 28.27 MB / 493.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.1289, allocations: 8.052 MB / 0.4895 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004872/0.1338, allocations: 227.3 kB / 0.4898 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0161/0.1499, allocations: 8.842 MB / 0.4984 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.1576, allocations: 2.647 MB / 0.501 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005564/0.1632, allocations: 2.402 MB / 0.5033 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1985/0.3617, allocations: 7.515 MB / 0.5107 GB, free: 4.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0213/0.3831, allocations: 19.65 MB / 0.5299 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009205/0.3923, allocations: 5.277 MB / 0.535 GB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0084/0.4007, allocations: 6.168 MB / 0.541 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003132/0.4039, allocations: 1.577 MB / 0.5426 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.4077, allocations: 2.048 MB / 0.5446 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004122/0.4119, allocations: 4.85 MB / 0.5493 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007694/0.4196, allocations: 6.068 MB / 0.5552 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.4381, allocations: 18.62 MB / 0.5734 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4381, allocations: 0 / 0.5734 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4381, allocations: 0 / 0.5734 GB, free: 14.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000507/0.4386, allocations: 0 / 0.5734 GB, free: 14.7 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.02483/0.4635, allocations: 10.93 MB / 0.5841 GB, free: 3.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4635, allocations: 16.02 kB / 0.5841 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003961/0.4675, allocations: 1.246 MB / 0.5853 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.4783, allocations: 5.818 MB / 0.591 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007833/0.4791, allocations: 0.892 MB / 0.5919 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/0.4815, allocations: 0.9848 MB / 0.5928 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0245/0.5061, allocations: 14.84 MB / 0.6073 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002294/0.5063, allocations: 42.34 kB / 0.6074 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008457/0.5072, allocations: 412.8 kB / 0.6078 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009626/0.5081, allocations: 0.9134 MB / 0.6087 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.5272, allocations: 11.04 MB / 0.6194 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/0.5888, allocations: 43.88 MB / 0.6623 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005088/0.5939, allocations: 2.042 MB / 0.6643 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.596, allocations: 1.148 MB / 0.6654 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.5961, allocations: 25.05 kB / 0.6654 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.5962, allocations: 59.94 kB / 0.6655 GB, free: 468 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 3.997e-06/0.5962, allocations: 0 / 0.6655 GB, free: 468 kB / 0.4981 GB Notification: Performance of matching and sorting (n=218): time 0.02976/0.626, allocations: 14.31 MB / 0.6795 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.6261, allocations: 132.3 kB / 0.6796 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006388/0.6325, allocations: 4.493 MB / 0.684 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.6326, allocations: 89.69 kB / 0.6841 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00405/0.6367, allocations: 5.127 MB / 0.6891 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007005/0.6374, allocations: 0.8369 MB / 0.6899 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.6389, allocations: 1.151 MB / 0.691 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.639, allocations: 309.1 kB / 0.6913 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.642, allocations: 1.682 MB / 0.693 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004992/0.647, allocations: 4.765 MB / 0.6976 GB, free: 14.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008106/0.6551, allocations: 6.602 MB / 0.7041 GB, free: 6.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.125e-05/0.6552, allocations: 32 kB / 0.7041 GB, free: 6.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01145/0.6666, allocations: 6.847 MB / 0.7108 GB, free: 116 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/0.6667, allocations: 58.44 kB / 0.7108 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3867/1.053, allocations: 106.5 kB / 0.7109 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/1.057, allocations: 1.75 MB / 0.7126 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/1.061, allocations: 1.233 MB / 0.7138 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/1.063, allocations: 2.129 MB / 0.7159 GB, free: 141.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004018/1.067, allocations: 445 kB / 0.7163 GB, free: 141.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003909/1.068, allocations: 325.6 kB / 0.7167 GB, free: 141.4 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.004916/1.073, allocations: 3.341 MB / 0.7199 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000676/1.073, allocations: 469.7 kB / 0.7204 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/1.078, allocations: 2.841 MB / 0.7231 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/1.078, allocations: 15.09 kB / 0.7232 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.078, allocations: 5.453 kB / 0.7232 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.079, allocations: 0.7284 MB / 0.7239 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/1.08, allocations: 70.83 kB / 0.7239 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.081, allocations: 189.5 kB / 0.7241 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/1.082, allocations: 266.2 kB / 0.7244 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005885/1.088, allocations: 2.935 MB / 0.7272 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00583/1.094, allocations: 4.015 MB / 0.7312 GB, free: 140.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001606/1.095, allocations: 1.09 MB / 0.7322 GB, free: 140.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003504/1.099, allocations: 2.846 MB / 0.735 GB, free: 139.7 MB / 0.545 GB Notification: Performance of Backend: time 4.31e-07/1.099, allocations: 0 / 0.735 GB, free: 139.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006252/1.105, allocations: 3.421 MB / 0.7383 GB, free: 138.8 MB / 0.545 GB Notification: Performance of SimCode: time 0.02064/1.126, allocations: 15.54 MB / 0.7535 GB, free: 131.2 MB / 0.545 GB Notification: Performance of Templates: time 0.08311/1.209, allocations: 53.98 MB / 0.8062 GB, free: 86.88 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)