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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003767/0.003767, allocations: 181 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 221.4 MB / 229.3 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.0009569, allocations: 92.56 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03911/0.03911, allocations: 7.853 MB / 338.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.482e-06, allocations: 0 / 396.9 MB, free: 68.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09202, allocations: 52.2 MB / 449.1 MB, free: 16.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4645, allocations: 106.5 MB / 0.5426 GB, free: 6.066 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4648, allocations: 81.03 kB / 0.5427 GB, free: 6.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.573/1.038, allocations: 155.2 MB / 0.6942 GB, free: 101 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002177/1.038, allocations: 80.86 kB / 0.6943 GB, free: 100.9 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.004168/1.042, allocations: 2.464 MB / 0.6967 GB, free: 98.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.042, allocations: 12.03 kB / 0.6967 GB, free: 98.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008061/1.043, allocations: 348 kB / 0.6971 GB, free: 98.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/1.046, allocations: 1.753 MB / 0.6988 GB, free: 97.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/1.046, allocations: 84 kB / 0.6988 GB, free: 96.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/1.046, allocations: 169.5 kB / 0.699 GB, free: 96.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002985/1.049, allocations: 1.678 MB / 0.7006 GB, free: 95.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003726/1.053, allocations: 2.51 MB / 0.7031 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/1.053, allocations: 25.7 kB / 0.7031 GB, free: 93.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/1.053, allocations: 11.31 kB / 0.7031 GB, free: 93.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/1.053, allocations: 103.4 kB / 0.7032 GB, free: 93.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/1.066, allocations: 10.87 MB / 0.7138 GB, free: 84.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.067, allocations: 0.8053 MB / 0.7146 GB, free: 83.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007297/1.067, allocations: 0.5729 MB / 0.7152 GB, free: 82.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/1.068, allocations: 24.81 kB / 0.7152 GB, free: 82.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/1.068, allocations: 43.56 kB / 0.7153 GB, free: 82.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 3.176e-06/1.068, allocations: 0 / 0.7153 GB, free: 82.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.007835/1.075, allocations: 4.244 MB / 0.7194 GB, free: 78.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/1.075, allocations: 90.42 kB / 0.7195 GB, free: 78.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.077, allocations: 1.18 MB / 0.7206 GB, free: 77.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.077, allocations: 47.11 kB / 0.7207 GB, free: 77.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/1.078, allocations: 0.9708 MB / 0.7216 GB, free: 76.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.078, allocations: 461.4 kB / 0.7221 GB, free: 75.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/1.078, allocations: 4 kB / 0.7221 GB, free: 75.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/1.078, allocations: 375 kB / 0.7224 GB, free: 75.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/1.079, allocations: 0.5585 MB / 0.723 GB, free: 74.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/1.08, allocations: 1.092 MB / 0.724 GB, free: 73.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.081, allocations: 0.6412 MB / 0.7247 GB, free: 72.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/1.081, allocations: 4 kB / 0.7247 GB, free: 72.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003615/1.085, allocations: 2.067 MB / 0.7267 GB, free: 70.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.085, allocations: 15.91 kB / 0.7267 GB, free: 70.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/1.085, allocations: 20 kB / 0.7267 GB, free: 70.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/1.087, allocations: 1.1 MB / 0.7278 GB, free: 69.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/1.088, allocations: 303.5 kB / 0.7281 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/1.09, allocations: 1.902 MB / 0.73 GB, free: 67.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.092, allocations: 203.8 kB / 0.7301 GB, free: 67.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/1.092, allocations: 99.44 kB / 0.7302 GB, free: 67.18 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brakes.brake_3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_4.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 57 (driverEnvironment.ignition.y,brakes.brake_1.free,$PRE.brakes.brake_1.startForward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startBackward,brakes.brake_1.locked,$PRE.brakes.brake_1.mode,brakes.brake_1.mode,brakes.brake_2.free,$PRE.brakes.brake_2.startForward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startBackward,brakes.brake_2.locked,$PRE.brakes.brake_2.mode,brakes.brake_2.mode,brakes.brake_3.free,$PRE.brakes.brake_3.startForward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startBackward,brakes.brake_3.locked,$PRE.brakes.brake_3.mode,brakes.brake_3.mode,brakes.brake_4.free,$PRE.brakes.brake_4.startForward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startBackward,brakes.brake_4.locked,$PRE.brakes.brake_4.mode,brakes.brake_4.mode,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 54} Notification: Performance of prepare postOptimizeDAE: time 0.0003439/1.092, allocations: 204.1 kB / 0.7304 GB, free: 66.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/1.092, allocations: 189.6 kB / 0.7306 GB, free: 66.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/1.096, allocations: 1.847 MB / 0.7324 GB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.096, allocations: 16 kB / 0.7324 GB, free: 64.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.096, allocations: 3.984 kB / 0.7324 GB, free: 64.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.096, allocations: 3.984 kB / 0.7324 GB, free: 64.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007506/1.103, allocations: 4.312 MB / 0.7367 GB, free: 60.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/1.103, allocations: 3.375 kB / 0.7367 GB, free: 60.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/1.104, allocations: 160 kB / 0.7368 GB, free: 60.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/1.106, allocations: 1.012 MB / 0.7378 GB, free: 59.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.925e-05/1.106, allocations: 27.95 kB / 0.7378 GB, free: 59.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/1.108, allocations: 1.699 MB / 0.7395 GB, free: 57.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.108, allocations: 0 / 0.7395 GB, free: 57.66 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004089/1.112, allocations: 2.547 MB / 0.742 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000786/1.113, allocations: 390.7 kB / 0.7423 GB, free: 54.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/1.113, allocations: 39.89 kB / 0.7424 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/1.114, allocations: 119.9 kB / 0.7425 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/1.115, allocations: 232.8 kB / 0.7427 GB, free: 54.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.115, allocations: 59.94 kB / 0.7428 GB, free: 54.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001065/1.116, allocations: 0.848 MB / 0.7436 GB, free: 53.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00137/1.117, allocations: 387.9 kB / 0.744 GB, free: 52.99 MB / 442.7 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,driverEnvironment.ignition.y) * Number of discrete states: 12 (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_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003023/1.118, allocations: 170.8 kB / 0.7441 GB, free: 52.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/1.12, allocations: 1.576 MB / 0.7457 GB, free: 51.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.12, allocations: 1.688 kB / 0.7457 GB, free: 51.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/1.121, allocations: 0.7926 MB / 0.7464 GB, free: 50.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.123, allocations: 230.8 kB / 0.7467 GB, free: 50.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/1.129, allocations: 3.047 MB / 0.7496 GB, free: 47.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.13, allocations: 1.761 MB / 0.7514 GB, free: 45.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/1.13, allocations: 0 / 0.7514 GB, free: 45.3 MB / 442.7 MB Notification: Performance of Templates: time 0.03525/1.166, allocations: 24.21 MB / 0.775 GB, free: 21.46 MB / 442.7 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)