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/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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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/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/package.mo): time 0.04463/0.04463, allocations: 8.029 MB / 23.91 MB, free: 0 / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001311, allocations: 102.9 kB / 26.48 MB, free: 3.23 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.001422/0.001422, allocations: 198.7 kB / 29.16 MB, free: 0.5625 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.404/1.404, allocations: 222.9 MB / 254.6 MB, free: 3.223 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01345/0.01345, allocations: 3.12 MB / 309.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 91.86 kB / 373.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2094, allocations: 51.98 MB / 425.8 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003727/0.2131, allocations: 3.33 MB / 429.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.2158, allocations: 2.11 MB / 431.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.2162, allocations: 11.94 kB / 431.2 MB, free: 16.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.2166, allocations: 83.47 kB / 431.3 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.217, allocations: 123.2 kB / 431.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.2178, allocations: 383.8 kB / 431.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.2183, allocations: 0.6581 MB / 432.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.2185, allocations: 172.5 kB / 432.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.2188, allocations: 279 kB / 432.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.2191, allocations: 262.9 kB / 433.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.2191, allocations: 63.98 kB / 433.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.2194, allocations: 159.9 kB / 433.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.2195, allocations: 131.6 kB / 433.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2196, allocations: 250.7 kB / 433.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.22, allocations: 0.5262 MB / 434.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2201, allocations: 0 / 434.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2201, allocations: 0 / 434.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2201, allocations: 0 / 434.3 MB, free: 13.04 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.001204/0.2213, allocations: 0.8389 MB / 435.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.2213, allocations: 8.031 kB / 435.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.2215, allocations: 52.38 kB / 435.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.2219, allocations: 384.1 kB / 435.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.2219, allocations: 63.25 kB / 435.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.222, allocations: 43.94 kB / 435.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.2227, allocations: 493.5 kB / 436.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.2228, allocations: 11.91 kB / 436.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.2228, allocations: 15.94 kB / 436.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2228, allocations: 12 kB / 436.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.2235, allocations: 347.8 kB / 436.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.2254, allocations: 1.44 MB / 438 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008786/0.2263, allocations: 400.1 kB / 438.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.2266, allocations: 157.3 kB / 438.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.2267, allocations: 12.58 kB / 438.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.2272, allocations: 242.5 kB / 438.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.475e-06/0.2272, allocations: 0 / 438.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003649/0.2309, allocations: 1.806 MB / 440.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.231, allocations: 158.2 kB / 440.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.2313, allocations: 332.5 kB / 441 MB, free: 5.902 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.2313, allocations: 45.64 kB / 441.1 MB, free: 5.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.2314, allocations: 220.3 kB / 441.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.2315, allocations: 138.1 kB / 441.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2316, allocations: 90.16 kB / 441.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.2317, allocations: 350.8 kB / 441.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.232, allocations: 171 kB / 442 MB, free: 4.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.2324, allocations: 272.5 kB / 442.3 MB, free: 4.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.233, allocations: 363.8 kB / 442.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.233, allocations: 0 / 442.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001106/0.2341, allocations: 0.5867 MB / 443.2 MB, free: 3.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2341, allocations: 4.219 kB / 443.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2341, allocations: 8 kB / 443.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.2345, allocations: 164.6 kB / 443.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.2348, allocations: 79.89 kB / 443.5 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005197/0.2354, allocations: 0.7085 MB / 444.2 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.2357, allocations: 59.91 kB / 444.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.2358, allocations: 27.92 kB / 444.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003173/0.2361, allocations: 249.2 kB / 444.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002548/0.2364, allocations: 232.7 kB / 444.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003763/0.2368, allocations: 307.8 kB / 445 MB, free: 1.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.2368, allocations: 0 / 445 MB, free: 1.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008915/0.2377, allocations: 0.5052 MB / 445.5 MB, free: 1.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.2377, allocations: 7.938 kB / 445.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2377, allocations: 4 kB / 445.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003367/0.2381, allocations: 161 kB / 445.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.2383, allocations: 75.84 kB / 445.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004527/0.2387, allocations: 0.7046 MB / 446.5 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.2391, allocations: 39.95 kB / 446.5 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.2391, allocations: 23.98 kB / 446.6 MB, free: 132 kB / 302.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.0002244/0.2394, allocations: 224 kB / 446.8 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.2394, allocations: 39.53 kB / 446.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.2396, allocations: 52.41 kB / 446.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.2396, allocations: 4 kB / 446.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2396, allocations: 0 / 446.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2396, allocations: 3.984 kB / 446.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.2419, allocations: 1.203 MB / 448.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.242, allocations: 0 / 448.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.2423, allocations: 71.89 kB / 448.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003899/0.2427, allocations: 144.8 kB / 448.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.2427, allocations: 15.98 kB / 448.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007157/0.2435, allocations: 0.6849 MB / 449 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.2435, allocations: 8.016 kB / 449 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.2453, allocations: 0.8183 MB / 449.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.2455, allocations: 152.5 kB / 450 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.2456, allocations: 16 kB / 450 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.2459, allocations: 51.92 kB / 450 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.2461, allocations: 67.86 kB / 450.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.2461, allocations: 20.05 kB / 450.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.2464, allocations: 235 kB / 450.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2464, allocations: 0 / 450.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007071/0.2472, allocations: 184 kB / 450.5 MB, free: 12.01 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.001675/0.2489, allocations: 490 kB / 451 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.2507, allocations: 0.6683 MB / 451.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2507, allocations: 0 / 451.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006195/0.2513, allocations: 232.5 kB / 451.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.252, allocations: 93.36 kB / 452 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.2544, allocations: 1.208 MB / 453.2 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.2549, allocations: 0.824 MB / 454 MB, free: 8.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.2551, allocations: 39.42 kB / 454.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2551, allocations: 0 / 454.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of Templates: time 0.01237/0.2675, allocations: 7.941 MB / 462 MB, free: 0.6445 MB / 318.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 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe 2>&1)