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.001167/0.001167, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00159/0.00159, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1758/0.1758, allocations: 7.997 MB / 299.1 MB, free: 3.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 11.98 kB / 361.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 52.2 MB / 414 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.2924/0.4005, allocations: 86.2 MB / 0.4885 GB, free: 3.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04689/0.4475, allocations: 17.47 MB / 0.5055 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02216/0.4697, allocations: 447.2 kB / 0.5059 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01314/0.4828, allocations: 3.376 MB / 0.5092 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0277/0.5106, allocations: 8.388 MB / 0.5174 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00555/0.5162, allocations: 0.7139 MB / 0.5181 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005502/0.5217, allocations: 2.867 MB / 0.5209 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004633/0.5263, allocations: 2.442 MB / 0.5233 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.5285, allocations: 0.9801 MB / 0.5243 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.5307, allocations: 1.163 MB / 0.5254 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003705/0.5311, allocations: 112 kB / 0.5255 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/0.5317, allocations: 156 kB / 0.5257 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.5321, allocations: 0.5173 MB / 0.5262 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008462/0.533, allocations: 0.5548 MB / 0.5267 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.5364, allocations: 3.082 MB / 0.5297 GB, free: 5.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.5364, allocations: 0 / 0.5297 GB, free: 5.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5364, allocations: 4 kB / 0.5297 GB, free: 5.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001438/0.5366, allocations: 0 / 0.5297 GB, free: 5.992 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.006311/0.5429, allocations: 2.67 MB / 0.5323 GB, free: 3.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.5429, allocations: 16.02 kB / 0.5323 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.5436, allocations: 321.9 kB / 0.5326 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.5464, allocations: 1.605 MB / 0.5342 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.5465, allocations: 191.4 kB / 0.5344 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/0.5469, allocations: 255.8 kB / 0.5346 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004751/0.5517, allocations: 2.738 MB / 0.5373 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.671e-05/0.5518, allocations: 27.73 kB / 0.5373 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.552, allocations: 100 kB / 0.5374 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.5521, allocations: 124 kB / 0.5376 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/0.556, allocations: 2.001 MB / 0.5395 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.574, allocations: 10.48 MB / 0.5497 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.5765, allocations: 0.9161 MB / 0.5506 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.578, allocations: 0.5642 MB / 0.5512 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.5782, allocations: 17 kB / 0.5512 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.5782, allocations: 43.56 kB / 0.5512 GB, free: 15.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 4.518e-06/0.5782, allocations: 0 / 0.5512 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=125): time 0.01738/0.5956, allocations: 5.832 MB / 0.5569 GB, free: 9.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.5958, allocations: 94.06 kB / 0.557 GB, free: 9.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004178/0.6, allocations: 1.887 MB / 0.5589 GB, free: 7.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.6002, allocations: 69.69 kB / 0.5589 GB, free: 7.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.6019, allocations: 1.361 MB / 0.5603 GB, free: 5.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000647/0.6025, allocations: 446.2 kB / 0.5607 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.6027, allocations: 40 kB / 0.5607 GB, free: 5.359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003139/0.603, allocations: 386.2 kB / 0.5611 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.6052, allocations: 0.6953 MB / 0.5618 GB, free: 4.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/0.6081, allocations: 1.578 MB / 0.5633 GB, free: 2.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.6101, allocations: 0.8213 MB / 0.5641 GB, free: 1.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/0.6102, allocations: 12 kB / 0.5641 GB, free: 1.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006469/0.6166, allocations: 2.77 MB / 0.5668 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.6167, allocations: 20.94 kB / 0.5669 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.6168, allocations: 28.09 kB / 0.5669 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/0.6189, allocations: 1.353 MB / 0.5682 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.6203, allocations: 415.3 kB / 0.5686 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.6227, allocations: 1.715 MB / 0.5703 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.625, allocations: 267.4 kB / 0.5705 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.6252, allocations: 112 kB / 0.5706 GB, free: 10.73 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_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 () * 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 (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 41} Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.6266, allocations: 0.6376 MB / 0.5713 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.6271, allocations: 213.3 kB / 0.5715 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/0.6306, allocations: 1.746 MB / 0.5732 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.6307, allocations: 12 kB / 0.5732 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.6307, allocations: 0 / 0.5732 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.6307, allocations: 11.91 kB / 0.5732 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008093/0.6388, allocations: 4.564 MB / 0.5776 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.6389, allocations: 0 / 0.5776 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/0.6395, allocations: 163.9 kB / 0.5778 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.6413, allocations: 1.222 MB / 0.579 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.224e-05/0.6415, allocations: 43.95 kB / 0.579 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.6435, allocations: 1.517 MB / 0.5805 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6435, allocations: 3.938 kB / 0.5805 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2438/0.8873, allocations: 2.585 MB / 0.583 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008215/0.8882, allocations: 430.8 kB / 0.5835 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.8885, allocations: 46.81 kB / 0.5835 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/0.8893, allocations: 131.1 kB / 0.5836 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/0.8897, allocations: 236.2 kB / 0.5839 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/0.8898, allocations: 48.64 kB / 0.5839 GB, free: 127.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001637/0.8915, allocations: 1.209 MB / 0.5851 GB, free: 127.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.754e-06/0.8915, allocations: 0 / 0.5851 GB, free: 127.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001599/0.8931, allocations: 472.3 kB / 0.5855 GB, free: 127.5 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 (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 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003163/0.8934, allocations: 181.4 kB / 0.5857 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.8964, allocations: 1.767 MB / 0.5874 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8964, allocations: 2.406 kB / 0.5874 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.898, allocations: 0.8126 MB / 0.5882 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.8997, allocations: 308.4 kB / 0.5885 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/0.9072, allocations: 5.232 MB / 0.5936 GB, free: 124.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.9083, allocations: 1.612 MB / 0.5952 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009574/0.9092, allocations: 312.8 kB / 0.5955 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.9095, allocations: 129.8 kB / 0.5956 GB, free: 123.7 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.9095, allocations: 0 / 0.5956 GB, free: 123.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05111/0.9606, allocations: 26.32 MB / 0.6213 GB, free: 119.7 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)