Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.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.ConventionalVehicle_AltNames,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames") translateModel(VehicleInterfaces.Examples.ConventionalVehicle_AltNames,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008377/0.0008378, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2008/0.2008, allocations: 7.981 MB / 300.1 MB, free: 3.191 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003129, allocations: 8 kB / 363 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09641, allocations: 52.21 MB / 415.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.2603/0.3567, allocations: 92.69 MB / 0.496 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0476/0.4044, allocations: 18.07 MB / 0.5137 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02726/0.4317, allocations: 447.1 kB / 0.5141 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.4347, allocations: 0.5626 MB / 0.5146 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004337/0.4391, allocations: 0.59 MB / 0.5152 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.4427, allocations: 0.9188 MB / 0.5161 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006175/0.4489, allocations: 3.137 MB / 0.5192 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007868/0.4568, allocations: 3.142 MB / 0.5223 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.4594, allocations: 1.005 MB / 0.5232 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.4622, allocations: 1.215 MB / 0.5244 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008477/0.4631, allocations: 115.9 kB / 0.5245 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.4644, allocations: 180 kB / 0.5247 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.4655, allocations: 0.5423 MB / 0.5252 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002935/0.4684, allocations: 1.306 MB / 0.5265 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004921/0.4734, allocations: 3.075 MB / 0.5295 GB, free: 6.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4734, allocations: 8 kB / 0.5295 GB, free: 6.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4734, allocations: 0 / 0.5295 GB, free: 6.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.4736, allocations: 0 / 0.5295 GB, free: 6.914 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: 667 * Number of variables: 667 Notification: Performance of Generate backend data structure: time 0.006088/0.4797, allocations: 2.643 MB / 0.5321 GB, free: 4.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4797, allocations: 8.031 kB / 0.5321 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006874/0.4804, allocations: 328 kB / 0.5324 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.483, allocations: 1.651 MB / 0.534 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.4831, allocations: 189 kB / 0.5342 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004324/0.4836, allocations: 267.7 kB / 0.5345 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005076/0.4887, allocations: 2.754 MB / 0.5372 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.4888, allocations: 27.73 kB / 0.5372 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.489, allocations: 115.9 kB / 0.5373 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.4892, allocations: 115.9 kB / 0.5374 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/0.4932, allocations: 2.027 MB / 0.5394 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.5078, allocations: 10.47 MB / 0.5496 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.5096, allocations: 0.932 MB / 0.5505 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.5107, allocations: 0.572 MB / 0.5511 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-05/0.5107, allocations: 9 kB / 0.5511 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.5108, allocations: 43.56 kB / 0.5511 GB, free: 172 kB / 414.1 MB Notification: Performance of pre-optimization done (n=99): time 4.759e-06/0.5108, allocations: 4 kB / 0.5511 GB, free: 168 kB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.01241/0.5232, allocations: 5.855 MB / 0.5568 GB, free: 10.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.5233, allocations: 94.05 kB / 0.5569 GB, free: 10.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.526, allocations: 1.91 MB / 0.5588 GB, free: 8.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.5262, allocations: 61.7 kB / 0.5589 GB, free: 8.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.5273, allocations: 1.369 MB / 0.5602 GB, free: 6.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/0.5277, allocations: 434.2 kB / 0.5606 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.528, allocations: 189.9 kB / 0.5608 GB, free: 6.047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.5281, allocations: 301.1 kB / 0.5611 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.5294, allocations: 0.7031 MB / 0.5618 GB, free: 5.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.5313, allocations: 1.586 MB / 0.5633 GB, free: 3.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.5342, allocations: 2.18 MB / 0.5654 GB, free: 444 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/0.5343, allocations: 8 kB / 0.5655 GB, free: 436 kB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004959/0.5392, allocations: 2.766 MB / 0.5682 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.5393, allocations: 16 kB / 0.5682 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/0.5393, allocations: 32 kB / 0.5682 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/0.5416, allocations: 1.345 MB / 0.5695 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.5429, allocations: 423.2 kB / 0.5699 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.5453, allocations: 1.715 MB / 0.5716 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.5474, allocations: 271.4 kB / 0.5718 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.5476, allocations: 108 kB / 0.572 GB, free: 9.723 MB / 446.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.001494/0.5491, allocations: 0.6299 MB / 0.5726 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.5496, allocations: 213.3 kB / 0.5728 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/0.5534, allocations: 1.762 MB / 0.5745 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.5534, allocations: 16 kB / 0.5745 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5534, allocations: 3.938 kB / 0.5745 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5534, allocations: 3.984 kB / 0.5745 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009687/0.5631, allocations: 4.571 MB / 0.579 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.5632, allocations: 3.984 kB / 0.579 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.5639, allocations: 155.8 kB / 0.5791 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.566, allocations: 1.219 MB / 0.5803 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.5662, allocations: 47.89 kB / 0.5804 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2082/0.7744, allocations: 1.519 MB / 0.5818 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7744, allocations: 4.391 kB / 0.5819 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004782/0.7792, allocations: 2.6 MB / 0.5844 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/0.7801, allocations: 427.6 kB / 0.5848 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004279/0.7806, allocations: 52.03 kB / 0.5848 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.7817, allocations: 128.5 kB / 0.585 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/0.7821, allocations: 197 kB / 0.5852 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.29e-05/0.7822, allocations: 52.42 kB / 0.5852 GB, free: 127.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002055/0.7843, allocations: 1.225 MB / 0.5864 GB, free: 127.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7843, allocations: 0 / 0.5864 GB, free: 127.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001933/0.7862, allocations: 467.7 kB / 0.5869 GB, free: 127.7 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.0004029/0.7866, allocations: 188.7 kB / 0.587 GB, free: 127.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003258/0.7899, allocations: 1.78 MB / 0.5888 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.7899, allocations: 0 / 0.5888 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.7915, allocations: 0.8124 MB / 0.5896 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.7938, allocations: 311.1 kB / 0.5899 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008551/0.8024, allocations: 5.624 MB / 0.5954 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.8034, allocations: 1.598 MB / 0.5969 GB, free: 123.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.8039, allocations: 139.1 kB / 0.597 GB, free: 123.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8039, allocations: 3.125 kB / 0.597 GB, free: 123.4 MB / 446.1 MB Notification: Performance of Templates: time 0.05453/0.8584, allocations: 39.78 MB / 0.6359 GB, free: 110.3 MB / 446.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe 2>&1)