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.001342/0.001342, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.001319/0.001319, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04771/0.04771, allocations: 8.011 MB / 299.2 MB, free: 7.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.89 kB / 413.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1119, allocations: 51.21 MB / 465 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.02879/0.1407, allocations: 24.06 MB / 489 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1576, allocations: 6.28 MB / 495.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007039/0.1647, allocations: 191.4 kB / 495.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.1691, allocations: 1.004 MB / 496.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006021/0.1752, allocations: 0.8213 MB / 497.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.1869, allocations: 4.665 MB / 0.4902 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007468/0.1944, allocations: 3.823 MB / 0.494 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009465/0.2039, allocations: 4.755 MB / 0.4986 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.2072, allocations: 1.577 MB / 0.5002 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003455/0.2107, allocations: 1.746 MB / 0.5019 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.2119, allocations: 432 kB / 0.5023 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.2131, allocations: 495.9 kB / 0.5027 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009338/0.214, allocations: 0.9269 MB / 0.5037 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2893/0.5034, allocations: 1.855 MB / 0.5055 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.5136, allocations: 4.762 MB / 0.5101 GB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.5136, allocations: 3.375 kB / 0.5101 GB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5136, allocations: 1.125 kB / 0.5101 GB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000265/0.5139, allocations: 0 / 0.5101 GB, free: 11.61 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: 777 * Number of variables: 777 Notification: Performance of Generate backend data structure: time 0.01335/0.5273, allocations: 3.686 MB / 0.5137 GB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5273, allocations: 8.25 kB / 0.5137 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.5286, allocations: 388.9 kB / 0.5141 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/0.5328, allocations: 1.92 MB / 0.516 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.533, allocations: 220.9 kB / 0.5162 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006785/0.5337, allocations: 311.1 kB / 0.5165 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006692/0.5404, allocations: 3.129 MB / 0.5195 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.5405, allocations: 28.06 kB / 0.5196 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.5408, allocations: 124.5 kB / 0.5197 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.541, allocations: 126.8 kB / 0.5198 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004942/0.5459, allocations: 2.273 MB / 0.522 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/0.5648, allocations: 11.54 MB / 0.5333 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.5664, allocations: 0.9991 MB / 0.5343 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.5675, allocations: 0.6615 MB / 0.5349 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.277e-05/0.5676, allocations: 12.56 kB / 0.5349 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.5676, allocations: 47.12 kB / 0.535 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.997e-06/0.5676, allocations: 3.031 kB / 0.535 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01465/0.5823, allocations: 6.553 MB / 0.5414 GB, free: 12.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.5824, allocations: 92.39 kB / 0.5415 GB, free: 12.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.586, allocations: 2.126 MB / 0.5435 GB, free: 11.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000286/0.5863, allocations: 66.61 kB / 0.5436 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.5881, allocations: 1.606 MB / 0.5452 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006587/0.5887, allocations: 0.5022 MB / 0.5457 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007799/0.5895, allocations: 473 kB / 0.5461 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5897, allocations: 305.1 kB / 0.5464 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.591, allocations: 0.7596 MB / 0.5471 GB, free: 8.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.5932, allocations: 1.734 MB / 0.5488 GB, free: 6.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/0.5966, allocations: 2.385 MB / 0.5512 GB, free: 4.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-05/0.5967, allocations: 15.75 kB / 0.5512 GB, free: 4.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.006119/0.6028, allocations: 2.955 MB / 0.5541 GB, free: 2.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.6029, allocations: 26.22 kB / 0.5541 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-05/0.6029, allocations: 32 kB / 0.5541 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/0.6051, allocations: 1.306 MB / 0.5554 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.6068, allocations: 499.3 kB / 0.5559 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/0.6105, allocations: 3.007 MB / 0.5588 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.6129, allocations: 218.9 kB / 0.559 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.6131, allocations: 124 kB / 0.5591 GB, free: 12.8 MB / 414.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.001537/0.6147, allocations: 0.6927 MB / 0.5598 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.6152, allocations: 262.3 kB / 0.5601 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.619, allocations: 1.831 MB / 0.5618 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.6191, allocations: 12 kB / 0.5619 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.6191, allocations: 4 kB / 0.5619 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.6191, allocations: 7.969 kB / 0.5619 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009689/0.6288, allocations: 4.746 MB / 0.5665 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.6289, allocations: 4.188 kB / 0.5665 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009835/0.6299, allocations: 209.8 kB / 0.5667 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/0.6319, allocations: 1.182 MB / 0.5679 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.6321, allocations: 47.95 kB / 0.5679 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/0.6354, allocations: 2.829 MB / 0.5707 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6354, allocations: 0 / 0.5707 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005197/0.6406, allocations: 2.763 MB / 0.5734 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.6419, allocations: 471.5 kB / 0.5738 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/0.6424, allocations: 52 kB / 0.5739 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.6434, allocations: 99.89 kB / 0.574 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005041/0.644, allocations: 220.5 kB / 0.5742 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.6441, allocations: 55.95 kB / 0.5742 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002439/0.6465, allocations: 1.37 MB / 0.5756 GB, free: 11.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6465, allocations: 0 / 0.5756 GB, free: 11.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002695/0.6492, allocations: 0.5273 MB / 0.5761 GB, free: 11.21 MB / 430.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.0005511/0.6498, allocations: 197.1 kB / 0.5763 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004712/0.6545, allocations: 2.041 MB / 0.5783 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.6546, allocations: 4 kB / 0.5783 GB, free: 9.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.6567, allocations: 0.9888 MB / 0.5792 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.6593, allocations: 366.3 kB / 0.5796 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.6713, allocations: 5.171 MB / 0.5846 GB, free: 2.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.6731, allocations: 1.735 MB / 0.5863 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001318/0.6744, allocations: 350.5 kB / 0.5867 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.6748, allocations: 151.4 kB / 0.5868 GB, free: 324 kB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.6748, allocations: 3.281 kB / 0.5868 GB, free: 324 kB / 430.1 MB Notification: Performance of Templates: time 0.06335/0.7382, allocations: 31.19 MB / 0.6173 GB, free: 1.363 MB / 462.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 -s cvode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)