Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.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.PowerSplitHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid") translateModel(VehicleInterfaces.Examples.PowerSplitHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001164/0.001164, allocations: 195.9 kB / 16.14 MB, free: 6.695 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1395/0.1395, allocations: 7.98 MB / 297.9 MB, free: 2.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.89 kB / 359.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.09925, allocations: 51.2 MB / 411.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.2578/0.3571, allocations: 93.77 MB / 0.493 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04631/0.4034, allocations: 18.04 MB / 0.5107 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02549/0.4289, allocations: 458.5 kB / 0.5111 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005248/0.4342, allocations: 0.8205 MB / 0.5119 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.4386, allocations: 0.6721 MB / 0.5126 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009784/0.4484, allocations: 4.624 MB / 0.5171 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006243/0.4547, allocations: 3.652 MB / 0.5206 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00792/0.4626, allocations: 3.504 MB / 0.5241 GB, free: 9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.4653, allocations: 1.369 MB / 0.5254 GB, free: 7.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003263/0.4686, allocations: 1.665 MB / 0.527 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.47, allocations: 256 kB / 0.5273 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.4717, allocations: 320.9 kB / 0.5276 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.473, allocations: 0.7612 MB / 0.5283 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003254/0.4763, allocations: 1.688 MB / 0.53 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005321/0.4816, allocations: 4.518 MB / 0.5344 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4817, allocations: 3.938 kB / 0.5344 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4817, allocations: 0 / 0.5344 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001354/0.4818, allocations: 0 / 0.5344 GB, free: 15.34 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 777 * Number of variables: 777 Notification: Performance of Generate backend data structure: time 0.006815/0.4886, allocations: 3.584 MB / 0.5379 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4887, allocations: 8.031 kB / 0.5379 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005781/0.4893, allocations: 375.4 kB / 0.5383 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.492, allocations: 1.845 MB / 0.5401 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.4921, allocations: 221.8 kB / 0.5403 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/0.4926, allocations: 307.7 kB / 0.5406 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005645/0.4982, allocations: 3.133 MB / 0.5436 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/0.4984, allocations: 23.75 kB / 0.5436 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.4987, allocations: 120 kB / 0.5438 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.4988, allocations: 131.9 kB / 0.5439 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004787/0.5036, allocations: 2.281 MB / 0.5461 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/0.5211, allocations: 11.59 MB / 0.5574 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.5229, allocations: 0.999 MB / 0.5584 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.5241, allocations: 0.6705 MB / 0.5591 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-05/0.5242, allocations: 13 kB / 0.5591 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.5242, allocations: 47.56 kB / 0.5591 GB, free: 5.355 MB / 430.1 MB Notification: Performance of pre-optimization done (n=119): time 3.146e-06/0.5242, allocations: 0 / 0.5591 GB, free: 5.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01352/0.5377, allocations: 6.456 MB / 0.5654 GB, free: 14.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.5378, allocations: 94.42 kB / 0.5655 GB, free: 14.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/0.5413, allocations: 2.131 MB / 0.5676 GB, free: 12.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.5415, allocations: 69.69 kB / 0.5677 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.5427, allocations: 1.556 MB / 0.5692 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.5432, allocations: 489.4 kB / 0.5696 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007735/0.544, allocations: 476.2 kB / 0.5701 GB, free: 9.848 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.5441, allocations: 301.1 kB / 0.5704 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.5455, allocations: 0.7622 MB / 0.5711 GB, free: 8.785 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.5475, allocations: 1.728 MB / 0.5728 GB, free: 6.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00297/0.5505, allocations: 2.385 MB / 0.5751 GB, free: 3.754 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/0.5505, allocations: 8 kB / 0.5752 GB, free: 3.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005219/0.5557, allocations: 2.954 MB / 0.578 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.5558, allocations: 19.94 kB / 0.5781 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.572e-05/0.5558, allocations: 32 kB / 0.5781 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1987/0.7545, allocations: 1.297 MB / 0.5794 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.7562, allocations: 499.1 kB / 0.5798 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.7588, allocations: 2.908 MB / 0.5827 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.7608, allocations: 219.2 kB / 0.5829 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.761, allocations: 119.5 kB / 0.583 GB, free: 127 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * 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 (275): * Single equations (assignments): 273 * 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.001207/0.7622, allocations: 0.6958 MB / 0.5837 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.7625, allocations: 238.3 kB / 0.5839 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.7654, allocations: 1.839 MB / 0.5857 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.7655, allocations: 15.59 kB / 0.5857 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7655, allocations: 0 / 0.5857 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.7655, allocations: 6.797 kB / 0.5857 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006799/0.7723, allocations: 4.782 MB / 0.5904 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.7723, allocations: 0 / 0.5904 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.7732, allocations: 210.3 kB / 0.5906 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/0.7747, allocations: 1.187 MB / 0.5917 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.7748, allocations: 49.02 kB / 0.5918 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.7771, allocations: 2.741 MB / 0.5945 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7772, allocations: 3.219 kB / 0.5945 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/0.7813, allocations: 2.74 MB / 0.5972 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/0.7821, allocations: 457.3 kB / 0.5976 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000506/0.7827, allocations: 50.56 kB / 0.5976 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.7838, allocations: 113.1 kB / 0.5977 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000425/0.7843, allocations: 207.5 kB / 0.5979 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.7844, allocations: 53.03 kB / 0.598 GB, free: 120.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002137/0.7865, allocations: 1.368 MB / 0.5993 GB, free: 119.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7865, allocations: 0 / 0.5993 GB, free: 119.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002093/0.7886, allocations: 0.5301 MB / 0.5998 GB, free: 119.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (chassis.body.s,chassis.dragForces.v_rel,engine.end_1.zeroTorque1D.phi,accessories.inertia.w,motor1.inductor.i,motor2.inductor.i) * 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_4.mode,brakes.brake_4.startForward,brakes.brake_4.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_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 110 * 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,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004051/0.789, allocations: 201.8 kB / 0.6 GB, free: 119.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003548/0.7926, allocations: 2.033 MB / 0.602 GB, free: 118.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.7926, allocations: 0 / 0.602 GB, free: 118.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.7943, allocations: 0.9827 MB / 0.603 GB, free: 118.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.7965, allocations: 347.3 kB / 0.6033 GB, free: 118.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00979/0.8063, allocations: 6.346 MB / 0.6095 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.8078, allocations: 1.736 MB / 0.6112 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001243/0.8091, allocations: 350.1 kB / 0.6115 GB, free: 113.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.8095, allocations: 137.5 kB / 0.6117 GB, free: 113.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.8095, allocations: 7.938 kB / 0.6117 GB, free: 113.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04996/0.8595, allocations: 28.91 MB / 0.6399 GB, free: 104.7 MB / 446.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)