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.007991/0.007991, allocations: 102.9 kB / 15.73 MB, free: 6.492 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.001903/0.001903, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1614/0.1614, allocations: 7.981 MB / 298.5 MB, free: 2.199 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 55.91 kB / 413.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 51.21 MB / 464.3 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.0209/0.324, allocations: 21.54 MB / 485.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.3418, allocations: 5.757 MB / 491.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008785/0.3506, allocations: 171.7 kB / 491.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.3544, allocations: 0.8688 MB / 492.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00407/0.3585, allocations: 0.6862 MB / 493.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008891/0.3674, allocations: 4.284 MB / 497.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006688/0.3741, allocations: 3.285 MB / 0.4891 GB, free: 8.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008138/0.3823, allocations: 4.12 MB / 0.4932 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.385, allocations: 1.378 MB / 0.4945 GB, free: 3.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.388, allocations: 1.525 MB / 0.496 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009507/0.389, allocations: 368 kB / 0.4963 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3902, allocations: 439.9 kB / 0.4968 GB, free: 1.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007494/0.3909, allocations: 0.8179 MB / 0.4976 GB, free: 0.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.3928, allocations: 1.602 MB / 0.4991 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.3977, allocations: 4.094 MB / 0.5031 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3977, allocations: 0 / 0.5031 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3977, allocations: 4 kB / 0.5031 GB, free: 10.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.895e-05/0.3978, allocations: 3.938 kB / 0.5031 GB, free: 10.98 MB / 382.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.006296/0.4041, allocations: 3.153 MB / 0.5062 GB, free: 7.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4042, allocations: 8.031 kB / 0.5062 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004907/0.4047, allocations: 324 kB / 0.5065 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.4074, allocations: 1.709 MB / 0.5082 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.4076, allocations: 189 kB / 0.5084 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/0.408, allocations: 271.7 kB / 0.5086 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004625/0.4126, allocations: 2.752 MB / 0.5113 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.711e-05/0.4127, allocations: 23.75 kB / 0.5113 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.4129, allocations: 100 kB / 0.5114 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.4131, allocations: 119.9 kB / 0.5116 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.4169, allocations: 2.012 MB / 0.5135 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.4313, allocations: 10.31 MB / 0.5236 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.4329, allocations: 0.9121 MB / 0.5245 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009274/0.4339, allocations: 0.5591 MB / 0.525 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.434, allocations: 24.97 kB / 0.525 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.434, allocations: 43.5 kB / 0.5251 GB, free: 3.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=99): time 3.487e-06/0.434, allocations: 0 / 0.5251 GB, free: 3.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=125): time 0.01127/0.4453, allocations: 5.671 MB / 0.5306 GB, free: 14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.4454, allocations: 94.14 kB / 0.5307 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.448, allocations: 1.902 MB / 0.5326 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.4482, allocations: 69.69 kB / 0.5326 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.4493, allocations: 1.369 MB / 0.534 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.4497, allocations: 434.1 kB / 0.5344 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005617/0.4502, allocations: 427.5 kB / 0.5348 GB, free: 9.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4503, allocations: 301.1 kB / 0.5351 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.4515, allocations: 0.7032 MB / 0.5358 GB, free: 8.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/0.4534, allocations: 1.582 MB / 0.5373 GB, free: 6.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.4561, allocations: 2.171 MB / 0.5394 GB, free: 4.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.4562, allocations: 8 kB / 0.5394 GB, free: 4.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004798/0.461, allocations: 2.742 MB / 0.5421 GB, free: 1.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.461, allocations: 20 kB / 0.5421 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.485e-05/0.4611, allocations: 28 kB / 0.5422 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/0.4633, allocations: 1.349 MB / 0.5435 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4646, allocations: 415.2 kB / 0.5439 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.4669, allocations: 1.717 MB / 0.5456 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.4688, allocations: 211.4 kB / 0.5458 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.469, allocations: 108 kB / 0.5459 GB, free: 13.42 MB / 430.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.00133/0.4703, allocations: 0.63 MB / 0.5465 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004326/0.4708, allocations: 213.3 kB / 0.5467 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.4743, allocations: 1.746 MB / 0.5484 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.4743, allocations: 15.94 kB / 0.5484 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4743, allocations: 8 kB / 0.5484 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.4744, allocations: 7.969 kB / 0.5484 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.4844, allocations: 4.467 MB / 0.5528 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.4845, allocations: 4 kB / 0.5528 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/0.4852, allocations: 155.7 kB / 0.5529 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.4874, allocations: 1.234 MB / 0.5541 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.4875, allocations: 43.95 kB / 0.5542 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.4899, allocations: 1.509 MB / 0.5557 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4899, allocations: 0 / 0.5557 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/0.4948, allocations: 2.6 MB / 0.5582 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.496, allocations: 422.2 kB / 0.5586 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/0.4966, allocations: 51.98 kB / 0.5586 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.4977, allocations: 95.89 kB / 0.5587 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004583/0.4982, allocations: 196.7 kB / 0.5589 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.4983, allocations: 47.95 kB / 0.559 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002663/0.501, allocations: 1.226 MB / 0.5602 GB, free: 14.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.501, allocations: 0 / 0.5602 GB, free: 14.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002245/0.5033, allocations: 464 kB / 0.5606 GB, free: 14.07 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.0004602/0.5037, allocations: 193.3 kB / 0.5608 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004106/0.5079, allocations: 1.778 MB / 0.5625 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.5079, allocations: 0 / 0.5625 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.5098, allocations: 0.8148 MB / 0.5633 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.5121, allocations: 339.4 kB / 0.5636 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.5223, allocations: 4.264 MB / 0.5678 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.5243, allocations: 1.609 MB / 0.5694 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.5255, allocations: 316.7 kB / 0.5697 GB, free: 4.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/0.526, allocations: 135.4 kB / 0.5698 GB, free: 4.566 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/0.526, allocations: 0 / 0.5698 GB, free: 4.566 MB / 446.1 MB Notification: Performance of Templates: time 0.2906/0.8166, allocations: 29.15 MB / 0.5983 GB, free: 115.5 MB / 462.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)