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.0008494/0.0008495, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005773/0.005773, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1696/0.1696, allocations: 7.985 MB / 299.4 MB, free: 3.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 8 kB / 362.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 52.21 MB / 414.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.2559/0.3601, allocations: 91.6 MB / 0.4943 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0441/0.4042, allocations: 18 MB / 0.5119 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01982/0.4241, allocations: 455.2 kB / 0.5123 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.4269, allocations: 0.6673 MB / 0.513 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003819/0.4307, allocations: 0.6727 MB / 0.5136 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.4339, allocations: 1.039 MB / 0.5146 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005599/0.4395, allocations: 3.64 MB / 0.5182 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006503/0.446, allocations: 3.556 MB / 0.5217 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.4482, allocations: 1.16 MB / 0.5228 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/0.4505, allocations: 1.393 MB / 0.5242 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004693/0.451, allocations: 140 kB / 0.5243 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006368/0.4516, allocations: 208 kB / 0.5245 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006098/0.4522, allocations: 0.6057 MB / 0.5251 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.4539, allocations: 1.52 MB / 0.5266 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004782/0.4587, allocations: 4.328 MB / 0.5308 GB, free: 5.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4587, allocations: 8 kB / 0.5308 GB, free: 5.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4588, allocations: 0 / 0.5308 GB, free: 5.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001218/0.4589, allocations: 0 / 0.5308 GB, free: 5.043 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: 777 * Number of variables: 777 Notification: Performance of Generate backend data structure: time 0.005959/0.4648, allocations: 2.992 MB / 0.5337 GB, free: 1.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4649, allocations: 12.03 kB / 0.5337 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006658/0.4656, allocations: 367.4 kB / 0.5341 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.4683, allocations: 1.849 MB / 0.5359 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.4685, allocations: 229.7 kB / 0.5361 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/0.469, allocations: 303.8 kB / 0.5364 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005736/0.4747, allocations: 3.133 MB / 0.5395 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.4748, allocations: 27.73 kB / 0.5395 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.4751, allocations: 127.9 kB / 0.5396 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.4752, allocations: 131.9 kB / 0.5397 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004621/0.4799, allocations: 2.288 MB / 0.542 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.4981, allocations: 11.68 MB / 0.5534 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.4999, allocations: 1.003 MB / 0.5544 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.5012, allocations: 0.6684 MB / 0.555 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.442e-05/0.5012, allocations: 16.98 kB / 0.555 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.5013, allocations: 43.56 kB / 0.5551 GB, free: 11.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=119): time 2.816e-06/0.5013, allocations: 0 / 0.5551 GB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01331/0.5146, allocations: 6.649 MB / 0.5616 GB, free: 4.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.5147, allocations: 98.45 kB / 0.5617 GB, free: 4.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/0.5178, allocations: 2.131 MB / 0.5637 GB, free: 2.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000234/0.5181, allocations: 69.7 kB / 0.5638 GB, free: 2.359 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.5193, allocations: 1.548 MB / 0.5653 GB, free: 0.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.5198, allocations: 497.3 kB / 0.5658 GB, free: 308 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.5201, allocations: 210.5 kB / 0.566 GB, free: 92 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5202, allocations: 305.1 kB / 0.5663 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.5217, allocations: 0.7661 MB / 0.567 GB, free: 15.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.5236, allocations: 1.732 MB / 0.5687 GB, free: 12.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.5267, allocations: 2.395 MB / 0.5711 GB, free: 9.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.5268, allocations: 12 kB / 0.5711 GB, free: 9.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005318/0.5321, allocations: 2.961 MB / 0.574 GB, free: 6.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.5322, allocations: 20 kB / 0.574 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/0.5322, allocations: 32 kB / 0.574 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.5342, allocations: 1.296 MB / 0.5753 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.5359, allocations: 0.4992 MB / 0.5758 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.539, allocations: 2.914 MB / 0.5786 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.5412, allocations: 267.4 kB / 0.5789 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.5415, allocations: 124 kB / 0.579 GB, free: 1.68 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.001543/0.543, allocations: 0.6892 MB / 0.5797 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.5435, allocations: 248.8 kB / 0.5799 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2315/0.775, allocations: 1.84 MB / 0.5817 GB, free: 53.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.775, allocations: 15.56 kB / 0.5817 GB, free: 53.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.775, allocations: 0 / 0.5817 GB, free: 53.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.7751, allocations: 9.609 kB / 0.5817 GB, free: 53.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/0.7832, allocations: 4.852 MB / 0.5865 GB, free: 53.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.7833, allocations: 1.406 kB / 0.5865 GB, free: 53.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/0.7841, allocations: 212 kB / 0.5867 GB, free: 53.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.7858, allocations: 1.188 MB / 0.5878 GB, free: 53.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.7859, allocations: 44.89 kB / 0.5879 GB, free: 53.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.7883, allocations: 2.736 MB / 0.5905 GB, free: 51.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7883, allocations: 3.938 kB / 0.5905 GB, free: 51.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.7927, allocations: 2.763 MB / 0.5932 GB, free: 51.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/0.7936, allocations: 462.5 kB / 0.5937 GB, free: 51.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.7939, allocations: 54.59 kB / 0.5937 GB, free: 51.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.795, allocations: 141.7 kB / 0.5939 GB, free: 51.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004199/0.7954, allocations: 205.4 kB / 0.5941 GB, free: 51.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.353e-05/0.7955, allocations: 56.64 kB / 0.5941 GB, free: 51.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00199/0.7975, allocations: 1.367 MB / 0.5954 GB, free: 50.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7975, allocations: 0 / 0.5954 GB, free: 50.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001863/0.7994, allocations: 0.5299 MB / 0.596 GB, free: 50.87 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.0003324/0.7997, allocations: 194.6 kB / 0.5962 GB, free: 50.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003359/0.8031, allocations: 2.042 MB / 0.5981 GB, free: 50.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.8031, allocations: 7.188 kB / 0.5982 GB, free: 50.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.8048, allocations: 0.9842 MB / 0.5991 GB, free: 50.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.8074, allocations: 340.8 kB / 0.5994 GB, free: 50.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.8177, allocations: 6.583 MB / 0.6059 GB, free: 47.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.8193, allocations: 1.736 MB / 0.6076 GB, free: 46.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001452/0.8208, allocations: 343.9 kB / 0.6079 GB, free: 46.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.8211, allocations: 142.5 kB / 0.608 GB, free: 46.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.8211, allocations: 1.25 kB / 0.608 GB, free: 46.25 MB / 446.1 MB Notification: Performance of Templates: time 0.04899/0.8701, allocations: 28.67 MB / 0.636 GB, free: 28.93 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)