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.0007978/0.0007978, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005385/0.005386, allocations: 170 kB / 16.27 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1545/0.1545, allocations: 7.984 MB / 299.4 MB, free: 3.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 8 kB / 362.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09851, allocations: 52.19 MB / 414.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.253/0.3515, allocations: 92.69 MB / 0.4954 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04136/0.3929, allocations: 18.07 MB / 0.513 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01739/0.4103, allocations: 447.6 kB / 0.5135 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.4126, allocations: 0.5691 MB / 0.514 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.4155, allocations: 0.5841 MB / 0.5146 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.418, allocations: 0.9123 MB / 0.5155 GB, free: 336 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004542/0.4225, allocations: 3.143 MB / 0.5185 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00543/0.428, allocations: 3.145 MB / 0.5216 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.4301, allocations: 1.002 MB / 0.5226 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.4322, allocations: 1.21 MB / 0.5238 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000467/0.4327, allocations: 120 kB / 0.5239 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006007/0.4333, allocations: 184 kB / 0.5241 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006237/0.434, allocations: 0.5345 MB / 0.5246 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.4357, allocations: 1.307 MB / 0.5259 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.4401, allocations: 3.734 MB / 0.5295 GB, free: 6.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4402, allocations: 0 / 0.5295 GB, free: 6.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4402, allocations: 0 / 0.5295 GB, free: 6.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001124/0.4403, allocations: 4 kB / 0.5295 GB, free: 6.383 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.004979/0.4453, allocations: 2.643 MB / 0.5321 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4453, allocations: 12.03 kB / 0.5321 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.4458, allocations: 320 kB / 0.5324 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.4481, allocations: 1.659 MB / 0.534 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.4483, allocations: 189 kB / 0.5342 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.4487, allocations: 267.7 kB / 0.5345 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004719/0.4534, allocations: 2.758 MB / 0.5372 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-05/0.4535, allocations: 15.81 kB / 0.5372 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002226/0.4538, allocations: 108.6 kB / 0.5373 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.4539, allocations: 119.9 kB / 0.5374 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/0.4578, allocations: 2.024 MB / 0.5394 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.4716, allocations: 10.48 MB / 0.5496 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.4734, allocations: 0.9281 MB / 0.5505 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.4746, allocations: 0.566 MB / 0.5511 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.331e-05/0.4747, allocations: 16.94 kB / 0.5511 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4747, allocations: 43.56 kB / 0.5511 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 3.146e-06/0.4747, allocations: 4 kB / 0.5511 GB, free: 15.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=125): time 0.01215/0.4869, allocations: 5.857 MB / 0.5568 GB, free: 9.594 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.487, allocations: 102.1 kB / 0.5569 GB, free: 9.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.4897, allocations: 1.902 MB / 0.5588 GB, free: 7.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.4899, allocations: 65.69 kB / 0.5589 GB, free: 7.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.491, allocations: 1.365 MB / 0.5602 GB, free: 6.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004268/0.4915, allocations: 430.2 kB / 0.5606 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.4917, allocations: 189.9 kB / 0.5608 GB, free: 5.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4918, allocations: 301.1 kB / 0.5611 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4932, allocations: 0.7071 MB / 0.5618 GB, free: 4.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.4951, allocations: 1.586 MB / 0.5633 GB, free: 2.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.4981, allocations: 2.185 MB / 0.5654 GB, free: 15.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/0.4981, allocations: 8 kB / 0.5655 GB, free: 15.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005137/0.5033, allocations: 2.758 MB / 0.5681 GB, free: 13.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.5033, allocations: 20.94 kB / 0.5682 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.5034, allocations: 28 kB / 0.5682 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.5057, allocations: 1.356 MB / 0.5695 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.507, allocations: 415.3 kB / 0.5699 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.5095, allocations: 1.715 MB / 0.5716 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.5115, allocations: 271.4 kB / 0.5718 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.5118, allocations: 108 kB / 0.5719 GB, free: 9.145 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.001407/0.5132, allocations: 0.6376 MB / 0.5726 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003771/0.5136, allocations: 213.3 kB / 0.5728 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/0.5171, allocations: 1.754 MB / 0.5745 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.5172, allocations: 16 kB / 0.5745 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5172, allocations: 3.938 kB / 0.5745 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.5172, allocations: 7.969 kB / 0.5745 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00829/0.5255, allocations: 4.563 MB / 0.579 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.5256, allocations: 3.938 kB / 0.579 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.5262, allocations: 163.7 kB / 0.5791 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/0.5282, allocations: 1.227 MB / 0.5803 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.5283, allocations: 35.95 kB / 0.5804 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1809/0.7093, allocations: 1.514 MB / 0.5818 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.7093, allocations: 6.516 kB / 0.5818 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.7136, allocations: 2.604 MB / 0.5844 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000803/0.7144, allocations: 426 kB / 0.5848 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.7148, allocations: 49.97 kB / 0.5848 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000991/0.7158, allocations: 127.6 kB / 0.585 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004043/0.7162, allocations: 199.7 kB / 0.5852 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-05/0.7163, allocations: 51.31 kB / 0.5852 GB, free: 127.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001749/0.7181, allocations: 1.23 MB / 0.5864 GB, free: 127.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7181, allocations: 0 / 0.5864 GB, free: 127.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001876/0.7199, allocations: 466 kB / 0.5869 GB, free: 127.8 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.0003811/0.7203, allocations: 181.5 kB / 0.587 GB, free: 127.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.7236, allocations: 1.785 MB / 0.5888 GB, free: 127.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7237, allocations: 3.312 kB / 0.5888 GB, free: 127.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.7253, allocations: 0.8125 MB / 0.5896 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.7276, allocations: 312.8 kB / 0.5899 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.7362, allocations: 5.535 MB / 0.5953 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.7372, allocations: 1.605 MB / 0.5968 GB, free: 123.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.7383, allocations: 318.6 kB / 0.5971 GB, free: 123.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.7386, allocations: 123.2 kB / 0.5973 GB, free: 123.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7386, allocations: 0 / 0.5973 GB, free: 123.3 MB / 446.1 MB Notification: Performance of Templates: time 0.04538/0.784, allocations: 26.98 MB / 0.6236 GB, free: 117.9 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)