Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.PSD.PSecu3.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.PSD.PSecu3,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu3") translateModel(EHPTexamples.PSD.PSecu3,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04635/0.04635, allocations: 8.016 MB / 24.16 MB, free: 380 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.001023/0.001023, allocations: 113.2 kB / 26.73 MB, free: 3.254 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.001196/0.001196, allocations: 193.3 kB / 29.41 MB, free: 0.582 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.266/1.266, allocations: 222.9 MB / 254.8 MB, free: 4.832 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01263/0.01263, allocations: 3.114 MB / 309.9 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 87.86 kB / 374.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1731, allocations: 51.97 MB / 426.2 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu3): time 0.00775/0.1808, allocations: 9.383 MB / 435.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004991/0.1859, allocations: 3.981 MB / 439.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008543/0.1867, allocations: 39.88 kB / 439.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007875/0.1875, allocations: 476.3 kB / 440.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.1887, allocations: 0.6243 MB / 440.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.1909, allocations: 1.56 MB / 442.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.1927, allocations: 2.832 MB / 445.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.194, allocations: 1.412 MB / 446.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009314/0.1949, allocations: 1.125 MB / 447.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1963, allocations: 1.241 MB / 448.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003958/0.1967, allocations: 320 kB / 449.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.1974, allocations: 491.8 kB / 449.7 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005582/0.198, allocations: 0.6815 MB / 450.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.199, allocations: 1.314 MB / 451.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.2021, allocations: 3.365 MB / 455 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.2021, allocations: 3.984 kB / 455 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2021, allocations: 0 / 455 MB, free: 8.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.698e-05/0.2021, allocations: 3.938 kB / 455 MB, free: 8.484 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.004815/0.207, allocations: 2.908 MB / 457.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.207, allocations: 8.031 kB / 457.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005103/0.2075, allocations: 281 kB / 458.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.2096, allocations: 1.312 MB / 459.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.2097, allocations: 193.7 kB / 459.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/0.21, allocations: 215.9 kB / 459.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.2137, allocations: 2.186 MB / 462.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-05/0.2138, allocations: 7.906 kB / 462.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.2139, allocations: 88 kB / 462.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.214, allocations: 51.94 kB / 462.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.2169, allocations: 1.515 MB / 463.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.2276, allocations: 7.224 MB / 471 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.2304, allocations: 1.312 MB / 472.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.2317, allocations: 0.6919 MB / 473 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.054e-05/0.2318, allocations: 21.28 kB / 473 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.2333, allocations: 0.7892 MB / 473.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=133): time 3.106e-06/0.2333, allocations: 0 / 473.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=143): time 0.01047/0.2438, allocations: 5.526 MB / 479.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000257/0.2441, allocations: 0.6349 MB / 480 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.2459, allocations: 1.438 MB / 481.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.246, allocations: 61.69 kB / 481.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007598/0.2468, allocations: 0.9417 MB / 482.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.2472, allocations: 0.4891 MB / 482.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/0.2476, allocations: 279.5 kB / 483.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.2477, allocations: 305.1 kB / 483.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.2488, allocations: 0.5513 MB / 484 MB, free: 10.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.2502, allocations: 0.9335 MB / 485 MB, free: 9.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005906/0.2561, allocations: 2.887 MB / 487.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.2562, allocations: 8 kB / 487.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003921/0.2601, allocations: 2.074 MB / 489.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/0.2602, allocations: 118.8 kB / 490 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2602, allocations: 4 kB / 490 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007408/0.261, allocations: 285.7 kB / 490.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.262, allocations: 283.6 kB / 490.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.2643, allocations: 2.539 MB / 493.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.2655, allocations: 156 kB / 493.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.2656, allocations: 60 kB / 493.4 MB, free: 0.5508 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: bat.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001492/0.2672, allocations: 0.8288 MB / 494.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001102/0.2683, allocations: 0.8476 MB / 495 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00504/0.2733, allocations: 2.657 MB / 497.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.167e-06/0.2733, allocations: 0 / 497.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.003109/0.2764, allocations: 1.854 MB / 499.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.2765, allocations: 124.1 kB / 499.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2766, allocations: 12.08 kB / 499.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/0.2772, allocations: 268.5 kB / 499.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/0.2781, allocations: 255.6 kB / 0.4885 GB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.28, allocations: 2.448 MB / 0.4909 GB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.2814, allocations: 156 kB / 0.491 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.2815, allocations: 60 kB / 0.4911 GB, free: 6.473 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: bat.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 21 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragForce.free,$PRE.ECU.hysteresis.y,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,gen.limTau.state,mot.limTau.state,ECU.hysteresis.y,dragForce.mode,$PRE.dragForce.mode,dragForce.locked,dragForce.startBackward,$PRE.dragForce.startBackward,dragForce.startForward,$PRE.dragForce.startForward,gen.constPDC.integrator1.local_reset,mot.constPDC.integrator1.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 155 * 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,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0004682/0.282, allocations: 421.5 kB / 0.4915 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.2822, allocations: 174 kB / 0.4916 GB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.2856, allocations: 1.809 MB / 0.4934 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.2856, allocations: 3.984 kB / 0.4934 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2856, allocations: 0 / 0.4934 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.2862, allocations: 379 kB / 0.4938 GB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.2864, allocations: 40 kB / 0.4938 GB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.2874, allocations: 151.8 kB / 0.4939 GB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.2877, allocations: 121.1 kB / 0.4941 GB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004405/0.2921, allocations: 2.112 MB / 0.4961 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004017/0.2961, allocations: 2.469 MB / 0.4985 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001122/0.2973, allocations: 0.6583 MB / 0.4992 GB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001312/0.2986, allocations: 0.995 MB / 0.5001 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Backend: time 4.61e-07/0.2986, allocations: 4 kB / 0.5001 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007011/0.3056, allocations: 3.635 MB / 0.5037 GB, free: 9.688 MB / 382.1 MB Notification: Performance of SimCode: time 0.006465/0.3121, allocations: 4.967 MB / 0.5086 GB, free: 4.621 MB / 382.1 MB Notification: Performance of Templates: time 0.1789/0.491, allocations: 33.13 MB / 0.5409 GB, free: 69.47 MB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.PSD.PSecu3.makefile (rm -f EHPTexamples_main_EHPTexamples.PSD.PSecu3.pipe ; mkfifo EHPTexamples_main_EHPTexamples.PSD.PSecu3.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.PSD.PSecu3.pipe >> ../files/EHPTexamples_main_EHPTexamples.PSD.PSecu3.sim & ./EHPTexamples_main_EHPTexamples.PSD.PSecu3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.PSD.PSecu3.pipe 2>&1)