Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.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.SeriesHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid") translateModel(VehicleInterfaces.Examples.SeriesHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001007/0.001007, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04186/0.04186, allocations: 7.989 MB / 299.2 MB, free: 7.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 71.83 kB / 413.8 MB, free: 22.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.0939, allocations: 51.22 MB / 465 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.SeriesHybrid): time 0.02442/0.1184, allocations: 23.14 MB / 488.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1288, allocations: 5.98 MB / 494.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003035/0.1319, allocations: 175.5 kB / 494.3 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.134, allocations: 0.9228 MB / 495.2 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.1359, allocations: 0.7826 MB / 496 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006724/0.1426, allocations: 4.24 MB / 0.4885 GB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003682/0.1463, allocations: 3.613 MB / 0.492 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004627/0.1509, allocations: 4.215 MB / 0.4961 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.1524, allocations: 1.468 MB / 0.4976 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.1541, allocations: 1.61 MB / 0.4991 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.1545, allocations: 396 kB / 0.4995 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.1551, allocations: 463.9 kB / 0.5 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006584/0.1558, allocations: 0.8684 MB / 0.5008 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.1571, allocations: 1.707 MB / 0.5025 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.179/0.3361, allocations: 4.378 MB / 0.5068 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3362, allocations: 0.75 kB / 0.5068 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3362, allocations: 2.625 kB / 0.5068 GB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.69e-05/0.3363, allocations: 0 / 0.5068 GB, free: 15.67 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: 704 * Number of variables: 704 Notification: Performance of Generate backend data structure: time 0.00538/0.3416, allocations: 3.426 MB / 0.5101 GB, free: 14.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3417, allocations: 9.938 kB / 0.5101 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.3422, allocations: 360.1 kB / 0.5105 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.3447, allocations: 1.791 MB / 0.5122 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.3448, allocations: 198.1 kB / 0.5124 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.3452, allocations: 278.5 kB / 0.5127 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.3495, allocations: 2.887 MB / 0.5155 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.542e-05/0.3496, allocations: 24.25 kB / 0.5155 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.3498, allocations: 105.6 kB / 0.5156 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.35, allocations: 133.7 kB / 0.5157 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.3538, allocations: 2.119 MB / 0.5178 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.3648, allocations: 10.76 MB / 0.5283 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3662, allocations: 0.9384 MB / 0.5292 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009623/0.3672, allocations: 0.6573 MB / 0.5299 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.148e-05/0.3673, allocations: 19.38 kB / 0.5299 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3673, allocations: 45.06 kB / 0.5299 GB, free: 6.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.136e-06/0.3673, allocations: 0 / 0.5299 GB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01026/0.3776, allocations: 6.188 MB / 0.536 GB, free: 3.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.3776, allocations: 94.45 kB / 0.5361 GB, free: 3.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.3795, allocations: 1.985 MB / 0.538 GB, free: 2.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.3796, allocations: 70.28 kB / 0.5381 GB, free: 1.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.3803, allocations: 1.462 MB / 0.5395 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.3806, allocations: 492.8 kB / 0.54 GB, free: 284 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005177/0.3811, allocations: 450.6 kB / 0.5404 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3812, allocations: 301.1 kB / 0.5407 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3824, allocations: 0.7282 MB / 0.5414 GB, free: 15.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.3842, allocations: 1.633 MB / 0.543 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.3868, allocations: 2.23 MB / 0.5452 GB, free: 11.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.3868, allocations: 10.88 kB / 0.5452 GB, free: 11.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004599/0.3915, allocations: 2.83 MB / 0.5479 GB, free: 9.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.3915, allocations: 20 kB / 0.548 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.3915, allocations: 29.86 kB / 0.548 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.3935, allocations: 1.298 MB / 0.5493 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.3949, allocations: 468.2 kB / 0.5497 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/0.3979, allocations: 3 MB / 0.5526 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.3998, allocations: 211.6 kB / 0.5528 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.4, allocations: 116 kB / 0.5529 GB, free: 4.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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,accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1],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],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,29)} Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.4013, allocations: 0.6544 MB / 0.5536 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.4016, allocations: 234.5 kB / 0.5538 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.4049, allocations: 1.758 MB / 0.5555 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.4049, allocations: 11.95 kB / 0.5555 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4049, allocations: 0 / 0.5555 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/0.4057, allocations: 455.3 kB / 0.556 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/0.406, allocations: 52 kB / 0.556 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.4071, allocations: 139.8 kB / 0.5562 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/0.4075, allocations: 197 kB / 0.5563 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003965/0.4115, allocations: 1.83 MB / 0.5581 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003584/0.4151, allocations: 2.363 MB / 0.5604 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001065/0.4162, allocations: 0.661 MB / 0.5611 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.4179, allocations: 1.275 MB / 0.5623 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.4179, allocations: 0 / 0.5623 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003359/0.4213, allocations: 1.556 MB / 0.5638 GB, free: 9.473 MB / 414.1 MB Notification: Performance of SimCode: time 0.006996/0.4283, allocations: 5.125 MB / 0.5689 GB, free: 4.324 MB / 414.1 MB Notification: Performance of Templates: time 0.04627/0.4746, allocations: 29.93 MB / 0.5981 GB, free: 6.617 MB / 446.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.pipe 2>&1)