Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.FirstEVpow.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.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05518/0.05518, allocations: 8.037 MB / 24.29 MB, free: 4.785 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 107.9 kB / 26.87 MB, free: 2.945 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.001291/0.001291, allocations: 187.3 kB / 29.56 MB, free: 272 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 255 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01241/0.01241, allocations: 3.114 MB / 310 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 99.84 kB / 375.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2221, allocations: 51.97 MB / 427.1 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003792/0.2259, allocations: 3.283 MB / 430.4 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.2287, allocations: 2.153 MB / 432.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.2289, allocations: 11.94 kB / 432.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.2293, allocations: 99.14 kB / 432.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.2297, allocations: 158.8 kB / 432.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.2305, allocations: 418.5 kB / 433.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004922/0.231, allocations: 0.6621 MB / 433.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.2312, allocations: 177.9 kB / 434 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.2315, allocations: 275.1 kB / 434.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.2318, allocations: 262.9 kB / 434.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.2319, allocations: 52 kB / 434.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.2322, allocations: 171.9 kB / 434.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.2323, allocations: 135.6 kB / 434.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2325, allocations: 254.7 kB / 435.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.2331, allocations: 0.6953 MB / 435.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2331, allocations: 0 / 435.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2331, allocations: 0 / 435.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.2331, allocations: 0 / 435.9 MB, free: 12.37 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001208/0.2343, allocations: 0.839 MB / 436.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2344, allocations: 12.02 kB / 436.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2345, allocations: 52.38 kB / 436.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.235, allocations: 384.1 kB / 437.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.2351, allocations: 55.27 kB / 437.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.2352, allocations: 47.94 kB / 437.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.2359, allocations: 497.4 kB / 437.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2359, allocations: 7.891 kB / 437.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.236, allocations: 19.94 kB / 437.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.236, allocations: 12 kB / 437.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.2366, allocations: 355.7 kB / 438.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.2384, allocations: 1.417 MB / 439.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.2393, allocations: 400.1 kB / 439.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.2396, allocations: 153.3 kB / 440.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.2397, allocations: 12.27 kB / 440.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.2401, allocations: 238.5 kB / 440.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/0.2401, allocations: 0 / 440.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003572/0.2437, allocations: 1.806 MB / 442.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.2438, allocations: 170 kB / 442.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.2441, allocations: 320.5 kB / 442.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.2441, allocations: 49.62 kB / 442.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2442, allocations: 220.4 kB / 442.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.2443, allocations: 138.1 kB / 443 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.2444, allocations: 94.14 kB / 443.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.2445, allocations: 346.8 kB / 443.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.2449, allocations: 167 kB / 443.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.2452, allocations: 280.6 kB / 443.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.2458, allocations: 367.6 kB / 444.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2458, allocations: 0 / 444.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00108/0.2469, allocations: 0.5831 MB / 444.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.247, allocations: 8 kB / 444.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.247, allocations: 0 / 444.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.2474, allocations: 169.4 kB / 445 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.2477, allocations: 83.83 kB / 445.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005163/0.2482, allocations: 0.7044 MB / 445.8 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.2485, allocations: 63.94 kB / 445.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.2486, allocations: 19.98 kB / 445.8 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003157/0.2489, allocations: 253.2 kB / 446.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002513/0.2492, allocations: 236.7 kB / 446.3 MB, free: 1.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003752/0.2496, allocations: 299.7 kB / 446.6 MB, free: 1.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.2496, allocations: 7.938 kB / 446.6 MB, free: 1.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008508/0.2504, allocations: 0.5051 MB / 447.1 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2505, allocations: 17.17 kB / 447.1 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2505, allocations: 0 / 447.1 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.2508, allocations: 164.8 kB / 447.3 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.251, allocations: 63.91 kB / 447.4 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006434/0.2517, allocations: 0.7085 MB / 448.1 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.252, allocations: 48.02 kB / 448.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.2521, allocations: 23.92 kB / 448.1 MB, free: 15.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.2523, allocations: 220.6 kB / 448.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.2524, allocations: 39.53 kB / 448.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.2525, allocations: 52.41 kB / 448.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2525, allocations: 4 kB / 448.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2525, allocations: 4 kB / 448.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.2525, allocations: 7.984 kB / 448.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.2546, allocations: 1.189 MB / 449.7 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2546, allocations: 4.125 kB / 449.7 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.2549, allocations: 75.89 kB / 449.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003607/0.2553, allocations: 144.8 kB / 449.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.2554, allocations: 15.98 kB / 449.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006335/0.256, allocations: 0.6772 MB / 450.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.256, allocations: 3.938 kB / 450.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.2578, allocations: 0.8115 MB / 451.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.2581, allocations: 148.6 kB / 451.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.2583, allocations: 16 kB / 451.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.2586, allocations: 55.92 kB / 451.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.2588, allocations: 63.86 kB / 451.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.2588, allocations: 19.98 kB / 451.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.2591, allocations: 231 kB / 451.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2591, allocations: 0 / 451.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007202/0.2599, allocations: 180 kB / 452.1 MB, free: 11.37 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/0.261, allocations: 497.8 kB / 452.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.2625, allocations: 0.6567 MB / 453.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2626, allocations: 4 kB / 453.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.2631, allocations: 240.5 kB / 453.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.2637, allocations: 99.98 kB / 453.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.2658, allocations: 0.9954 MB / 454.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.2662, allocations: 0.8201 MB / 455.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.2665, allocations: 59.27 kB / 455.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2666, allocations: 39.42 kB / 455.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2666, allocations: 0 / 455.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of Templates: time 0.01491/0.2815, allocations: 9.469 MB / 464.9 MB, free: 14.66 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe 2>&1)