Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.SHEV.SHEVpowerFiltSoc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc") translateModel(EHPTexamples.SHEV.SHEVpowerFiltSoc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06055/0.06055, allocations: 8.011 MB / 24.16 MB, free: 400 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009314, allocations: 105.2 kB / 26.73 MB, free: 3.281 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 189.3 kB / 29.41 MB, free: 0.6094 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 254.8 MB, free: 4.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01197/0.01197, allocations: 3.112 MB / 309.9 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 87.86 kB / 374.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1932, allocations: 51.98 MB / 426.2 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEVpowerFiltSoc): time 0.009395/0.2026, allocations: 10.13 MB / 436.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.209, allocations: 4.448 MB / 440.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.2102, allocations: 55.81 kB / 440.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009604/0.2111, allocations: 0.496 MB / 441.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.2125, allocations: 0.7019 MB / 442 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.2153, allocations: 1.895 MB / 443.9 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.2177, allocations: 3.205 MB / 447.1 MB, free: 484 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.2194, allocations: 1.372 MB / 448.5 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.2209, allocations: 1.187 MB / 449.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.2223, allocations: 1.283 MB / 451 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.2228, allocations: 352 kB / 451.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009912/0.2238, allocations: 0.5155 MB / 451.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006773/0.2245, allocations: 0.7323 MB / 452.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.2256, allocations: 1.4 MB / 454 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.2291, allocations: 3.716 MB / 457.7 MB, free: 5.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2291, allocations: 0 / 457.7 MB, free: 5.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2291, allocations: 3.938 kB / 457.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.2292, allocations: 0 / 457.7 MB, free: 5.844 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.00479/0.234, allocations: 3.021 MB / 460.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.234, allocations: 8.031 kB / 460.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/0.2346, allocations: 285.2 kB / 461 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.2365, allocations: 1.477 MB / 462.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.2367, allocations: 181.7 kB / 462.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/0.237, allocations: 211.8 kB / 462.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.2407, allocations: 2.265 MB / 465.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/0.2407, allocations: 4 kB / 465.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.2409, allocations: 88 kB / 465.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.241, allocations: 51.94 kB / 465.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/0.2441, allocations: 1.604 MB / 466.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.255, allocations: 7.823 MB / 474.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.2578, allocations: 1.762 MB / 476.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.2592, allocations: 0.7113 MB / 477.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.89e-05/0.2593, allocations: 25.3 kB / 477.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.2609, allocations: 0.8241 MB / 478 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=132): time 3.356e-06/0.2609, allocations: 0 / 478 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of matching and sorting (n=142): time 0.01029/0.2712, allocations: 5.422 MB / 483.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003141/0.2715, allocations: 0.7353 MB / 484.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.2737, allocations: 1.608 MB / 485.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.2738, allocations: 61.7 kB / 485.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/0.2746, allocations: 0.981 MB / 486.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.275, allocations: 485 kB / 487.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/0.2754, allocations: 279.4 kB / 487.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.2755, allocations: 301.1 kB / 487.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.2767, allocations: 0.5709 MB / 488.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.2782, allocations: 1.002 MB / 489.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006231/0.2845, allocations: 2.997 MB / 492.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.2845, allocations: 0 / 492.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003992/0.2885, allocations: 1.956 MB / 494.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.692e-05/0.2886, allocations: 123.1 kB / 494.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.2887, allocations: 12 kB / 494.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.2892, allocations: 205.5 kB / 494.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.2905, allocations: 335.5 kB / 495 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.2927, allocations: 2.263 MB / 497.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.2941, allocations: 171.8 kB / 497.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.2942, allocations: 59.98 kB / 497.5 MB, free: 12.31 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real genset.mBiceT.inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" type: Real battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real powFilt.y:VARIABLE(flow=false start = powFilt.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001775/0.296, allocations: 0.8773 MB / 498.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001217/0.2972, allocations: 0.8813 MB / 499.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004984/0.3022, allocations: 2.689 MB / 0.4902 GB, free: 7.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.373e-06/0.3022, allocations: 4 kB / 0.4902 GB, free: 7.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003112/0.3054, allocations: 1.737 MB / 0.4919 GB, free: 5.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/0.3055, allocations: 123.9 kB / 0.492 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3055, allocations: 8 kB / 0.492 GB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.306, allocations: 213.8 kB / 0.4922 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.307, allocations: 291.5 kB / 0.4925 GB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.3089, allocations: 2.263 MB / 0.4947 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.3103, allocations: 155.9 kB / 0.4949 GB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3104, allocations: 64.12 kB / 0.4949 GB, free: 2.422 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real genset.mBiceT.inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" type: Real battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real powFilt.y:VARIABLE(flow=false start = powFilt.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 19 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragForce.free,drive.limTau.state,genset.gen.limTau.state,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragForce.mode,$PRE.dragForce.mode,dragForce.locked,dragForce.startBackward,$PRE.dragForce.startBackward,dragForce.startForward,$PRE.dragForce.startForward,drive.constPDC.integrator1.local_reset,genset.toGrams.local_reset,genset.gen.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 4 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005209/0.3109, allocations: 433 kB / 0.4954 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.3112, allocations: 181.9 kB / 0.4955 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.3146, allocations: 1.734 MB / 0.4972 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.3146, allocations: 7.969 kB / 0.4972 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3146, allocations: 0 / 0.4972 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/0.3153, allocations: 406.9 kB / 0.4976 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.3155, allocations: 40 kB / 0.4977 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.3166, allocations: 155.8 kB / 0.4978 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.3168, allocations: 113.1 kB / 0.4979 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004137/0.321, allocations: 2.057 MB / 0.4999 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004357/0.3254, allocations: 2.562 MB / 0.5024 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001246/0.3266, allocations: 0.6935 MB / 0.5031 GB, free: 9.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001502/0.3281, allocations: 1.115 MB / 0.5042 GB, free: 8.723 MB / 382.1 MB Notification: Performance of Backend: time 2.4e-07/0.3281, allocations: 3.938 kB / 0.5042 GB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007037/0.3352, allocations: 3.658 MB / 0.5078 GB, free: 5.453 MB / 382.1 MB Notification: Performance of SimCode: time 0.006416/0.3416, allocations: 4.726 MB / 0.5124 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of Templates: time 0.1824/0.524, allocations: 34.6 MB / 0.5462 GB, free: 65.33 MB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc.makefile (rm -f EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe ; mkfifo EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe >> ../files/EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc.sim & ./EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe 2>&1)