Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06748/0.06748, allocations: 8.596 MB / 24.73 MB, free: 4.77 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.0009446/0.0009444, allocations: 109.5 kB / 27.44 MB, free: 2.578 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.001092/0.001092, allocations: 186 kB / 30.26 MB, free: 6.309 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 255.8 MB, free: 4.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01271/0.01271, allocations: 3.131 MB / 311 MB, free: 1.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 91.86 kB / 375.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1961, allocations: 52.1 MB / 427.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003945/0.2001, allocations: 3.291 MB / 430.9 MB, free: 17.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2028, allocations: 2.149 MB / 433 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.203, allocations: 11.94 kB / 433 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.2034, allocations: 95.16 kB / 433.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.2038, allocations: 154.9 kB / 433.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.2045, allocations: 430.7 kB / 433.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000428/0.205, allocations: 0.6465 MB / 434.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.2052, allocations: 180.4 kB / 434.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.2054, allocations: 275.1 kB / 434.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.2057, allocations: 266.8 kB / 435.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.2058, allocations: 52 kB / 435.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.206, allocations: 159.9 kB / 435.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2062, allocations: 131.6 kB / 435.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2063, allocations: 258.7 kB / 435.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.2069, allocations: 0.6853 MB / 436.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2069, allocations: 0 / 436.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2069, allocations: 0 / 436.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2069, allocations: 0 / 436.3 MB, free: 11.85 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.001223/0.2081, allocations: 0.8428 MB / 437.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2082, allocations: 8.031 kB / 437.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.2083, allocations: 52.38 kB / 437.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.2087, allocations: 376.1 kB / 437.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.2088, allocations: 55.27 kB / 437.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.2089, allocations: 47.94 kB / 437.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.2096, allocations: 497.4 kB / 438.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.2096, allocations: 3.906 kB / 438.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.2097, allocations: 16 kB / 438.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2097, allocations: 12 kB / 438.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.2104, allocations: 359.7 kB / 438.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.2122, allocations: 1.429 MB / 440 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/0.2131, allocations: 411.2 kB / 440.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.2134, allocations: 149.3 kB / 440.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.2135, allocations: 4.281 kB / 440.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.2139, allocations: 249.7 kB / 440.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.214, allocations: 0 / 440.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003689/0.2177, allocations: 1.81 MB / 442.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.2177, allocations: 162.2 kB / 442.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.218, allocations: 324.5 kB / 443.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2181, allocations: 41.7 kB / 443.1 MB, free: 4.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.2182, allocations: 220.4 kB / 443.3 MB, free: 4.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.2182, allocations: 134.1 kB / 443.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.2184, allocations: 98.14 kB / 443.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.2184, allocations: 346.8 kB / 443.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.2188, allocations: 167 kB / 444.1 MB, free: 3.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.2191, allocations: 284.4 kB / 444.3 MB, free: 3.391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.2197, allocations: 371.6 kB / 444.7 MB, free: 3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2197, allocations: 0 / 444.7 MB, free: 3 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001075/0.2208, allocations: 0.5792 MB / 445.3 MB, free: 2.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2208, allocations: 6.344 kB / 445.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2209, allocations: 4 kB / 445.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.2213, allocations: 168.8 kB / 445.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.2215, allocations: 87.88 kB / 445.5 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004905/0.222, allocations: 0.7083 MB / 446.3 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.2224, allocations: 55.91 kB / 446.3 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.2225, allocations: 27.94 kB / 446.3 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000308/0.2228, allocations: 249.2 kB / 446.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002608/0.2231, allocations: 236.7 kB / 446.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003773/0.2234, allocations: 299.8 kB / 447.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.2234, allocations: 0 / 447.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009095/0.2244, allocations: 0.5128 MB / 447.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2244, allocations: 11.97 kB / 447.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2244, allocations: 4 kB / 447.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.2248, allocations: 168.7 kB / 447.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.225, allocations: 63.91 kB / 447.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006424/0.2257, allocations: 0.7085 MB / 448.6 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.226, allocations: 47.94 kB / 448.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.2261, allocations: 20 kB / 448.6 MB, free: 14.93 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.0001691/0.2262, allocations: 220.6 kB / 448.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.2263, allocations: 39.53 kB / 448.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.2265, allocations: 60.47 kB / 448.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2265, allocations: 4 kB / 448.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2265, allocations: 0 / 448.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2265, allocations: 0 / 448.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.2285, allocations: 1.199 MB / 450.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2286, allocations: 4.094 kB / 450.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.2289, allocations: 75.89 kB / 450.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003708/0.2293, allocations: 144.7 kB / 450.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.2293, allocations: 11.98 kB / 450.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005612/0.2299, allocations: 0.6772 MB / 451.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2299, allocations: 4.031 kB / 451.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.2315, allocations: 0.8143 MB / 451.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.2316, allocations: 152.6 kB / 452 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.2317, allocations: 20 kB / 452 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.2321, allocations: 51.94 kB / 452.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.2322, allocations: 63.78 kB / 452.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.2323, allocations: 15.98 kB / 452.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.2325, allocations: 231.1 kB / 452.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2325, allocations: 7.938 kB / 452.4 MB, free: 11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006148/0.2331, allocations: 184 kB / 452.6 MB, free: 10.82 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.001002/0.2342, allocations: 484.6 kB / 453.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.2356, allocations: 0.6571 MB / 453.7 MB, free: 9.859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2356, allocations: 4.125 kB / 453.7 MB, free: 9.855 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005538/0.2362, allocations: 235.8 kB / 454 MB, free: 9.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.2368, allocations: 102.6 kB / 454.1 MB, free: 9.531 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.2387, allocations: 1.012 MB / 455.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.239, allocations: 0.8162 MB / 455.9 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.2392, allocations: 59.25 kB / 455.9 MB, free: 7.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.2393, allocations: 43.42 kB / 456 MB, free: 7.535 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2393, allocations: 0 / 456 MB, free: 7.535 MB / 318.1 MB Notification: Performance of Templates: time 0.01414/0.2535, allocations: 9.469 MB / 465.4 MB, free: 14.11 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe 2>&1)