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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 174.7 kB / 7.644 MB, free: 1.41 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.355/1.355, allocations: 221.5 MB / 229.6 MB, free: 7.543 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.0008385/0.0008381, allocations: 90.3 kB / 280.5 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03607/0.03607, allocations: 7.836 MB / 339.1 MB, free: 7.402 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.159e-05, allocations: 3.281 kB / 397.5 MB, free: 48.65 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 52.22 MB / 449.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5633, allocations: 106.3 MB / 0.543 GB, free: 25.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.5635, allocations: 85.58 kB / 0.543 GB, free: 25.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3592/0.9227, allocations: 155.3 MB / 0.6947 GB, free: 4.684 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.175e-06/0.9227, allocations: 3.938 kB / 0.6947 GB, free: 4.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004346/0.9232, allocations: 83.97 kB / 0.6948 GB, free: 4.598 MB / 458.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.007131/0.9303, allocations: 2.395 MB / 0.6971 GB, free: 2.145 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.9304, allocations: 8.031 kB / 0.6972 GB, free: 2.137 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.9318, allocations: 363.9 kB / 0.6975 GB, free: 1.777 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2332/1.165, allocations: 1.741 MB / 0.6992 GB, free: 124.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/1.165, allocations: 81.97 kB / 0.6993 GB, free: 124.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008721/1.166, allocations: 164.4 kB / 0.6994 GB, free: 124.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003514/1.17, allocations: 1.667 MB / 0.7011 GB, free: 124.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/1.174, allocations: 2.507 MB / 0.7035 GB, free: 123.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/1.174, allocations: 26.59 kB / 0.7035 GB, free: 123.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/1.174, allocations: 6.281 kB / 0.7035 GB, free: 123.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/1.174, allocations: 97.14 kB / 0.7036 GB, free: 123.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/1.189, allocations: 10.84 MB / 0.7142 GB, free: 119.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/1.191, allocations: 0.956 MB / 0.7152 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/1.192, allocations: 0.5706 MB / 0.7157 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/1.192, allocations: 18.5 kB / 0.7157 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/1.192, allocations: 51.17 kB / 0.7158 GB, free: 119.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 3.868e-06/1.192, allocations: 6.172 kB / 0.7158 GB, free: 119.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.007692/1.2, allocations: 4.305 MB / 0.72 GB, free: 117.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/1.2, allocations: 96.39 kB / 0.7201 GB, free: 117.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/1.201, allocations: 1.161 MB / 0.7212 GB, free: 117.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.201, allocations: 47.67 kB / 0.7213 GB, free: 117.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008386/1.202, allocations: 1.244 MB / 0.7225 GB, free: 117.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/1.203, allocations: 466.1 kB / 0.7229 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/1.203, allocations: 0 / 0.7229 GB, free: 116.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/1.203, allocations: 377.2 kB / 0.7233 GB, free: 116.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/1.204, allocations: 0.5509 MB / 0.7238 GB, free: 116.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.205, allocations: 1.096 MB / 0.7249 GB, free: 115.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.206, allocations: 0.63 MB / 0.7255 GB, free: 115.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.206, allocations: 6.625 kB / 0.7255 GB, free: 115.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003303/1.209, allocations: 2.077 MB / 0.7275 GB, free: 115.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.209, allocations: 13.59 kB / 0.7275 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/1.209, allocations: 21.47 kB / 0.7276 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/1.211, allocations: 1.121 MB / 0.7287 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/1.212, allocations: 308.7 kB / 0.729 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/1.214, allocations: 1.87 MB / 0.7308 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.215, allocations: 182.9 kB / 0.731 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.216, allocations: 93.7 kB / 0.731 GB, free: 115.1 MB / 458.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.0003588/1.216, allocations: 202.6 kB / 0.7312 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/1.216, allocations: 181.9 kB / 0.7314 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/1.219, allocations: 1.844 MB / 0.7332 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.219, allocations: 19.94 kB / 0.7332 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.219, allocations: 2.625 kB / 0.7332 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.219, allocations: 7.594 kB / 0.7332 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006695/1.226, allocations: 4.296 MB / 0.7374 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.226, allocations: 448 / 0.7374 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/1.227, allocations: 157.7 kB / 0.7376 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/1.228, allocations: 1.023 MB / 0.7386 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/1.228, allocations: 29.53 kB / 0.7386 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/1.23, allocations: 1.677 MB / 0.7403 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.23, allocations: 3.469 kB / 0.7403 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/1.234, allocations: 2.523 MB / 0.7427 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/1.235, allocations: 392.4 kB / 0.7431 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/1.235, allocations: 23.84 kB / 0.7431 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008671/1.236, allocations: 119.9 kB / 0.7432 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/1.236, allocations: 240.2 kB / 0.7435 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.236, allocations: 52.83 kB / 0.7435 GB, free: 110.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001054/1.237, allocations: 0.8443 MB / 0.7443 GB, free: 109.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.237, allocations: 0 / 0.7443 GB, free: 109.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001506/1.239, allocations: 393.5 kB / 0.7447 GB, free: 109.7 MB / 458.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.0003459/1.239, allocations: 169.8 kB / 0.7449 GB, free: 109.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002615/1.242, allocations: 1.567 MB / 0.7464 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.242, allocations: 1.688 kB / 0.7464 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/1.243, allocations: 0.8042 MB / 0.7472 GB, free: 108.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.245, allocations: 237 kB / 0.7474 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/1.252, allocations: 3.258 MB / 0.7506 GB, free: 107.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.253, allocations: 1.652 MB / 0.7522 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009014/1.254, allocations: 243.1 kB / 0.7524 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/1.254, allocations: 94.95 kB / 0.7525 GB, free: 106.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/1.254, allocations: 4 kB / 0.7525 GB, free: 106.3 MB / 458.7 MB Notification: Performance of Templates: time 0.03435/1.288, allocations: 23.17 MB / 0.7752 GB, free: 95.87 MB / 458.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)