Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.EVdata.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.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04144/0.04144, allocations: 8.035 MB / 24.29 MB, free: 32 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.001038/0.001038, allocations: 104.6 kB / 26.87 MB, free: 3.023 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.001209/0.001209, allocations: 193.9 kB / 29.58 MB, free: 344 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.312/1.312, allocations: 222.9 MB / 255 MB, free: 4.727 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01285/0.01285, allocations: 3.121 MB / 310.1 MB, free: 2.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 96.22 kB / 375.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2138, allocations: 51.98 MB / 427.1 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003846/0.2177, allocations: 3.268 MB / 430.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.2202, allocations: 2.257 MB / 432.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.2204, allocations: 15.94 kB / 432.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004159/0.2208, allocations: 131 kB / 432.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.2212, allocations: 162.8 kB / 432.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.2218, allocations: 403.8 kB / 433.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.2222, allocations: 0.6503 MB / 434 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.2224, allocations: 171.8 kB / 434.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.2226, allocations: 271.1 kB / 434.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.2229, allocations: 258.8 kB / 434.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.849e-05/0.223, allocations: 48 kB / 434.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.2232, allocations: 163.9 kB / 434.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.2233, allocations: 127.5 kB / 435 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2235, allocations: 254.7 kB / 435.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.2239, allocations: 0.6697 MB / 435.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.224, allocations: 0 / 435.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.224, allocations: 3.938 kB / 435.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.224, allocations: 3.938 kB / 435.9 MB, free: 12.49 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.00113/0.2251, allocations: 0.8272 MB / 436.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2252, allocations: 12.02 kB / 436.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2253, allocations: 56.28 kB / 436.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.2258, allocations: 404.6 kB / 437.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.2258, allocations: 55.2 kB / 437.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.2259, allocations: 43.92 kB / 437.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.2265, allocations: 465.5 kB / 437.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2266, allocations: 0 / 437.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.2266, allocations: 20 kB / 437.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2266, allocations: 8 kB / 437.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.2273, allocations: 327.8 kB / 438.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.2289, allocations: 1.346 MB / 439.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.2298, allocations: 391.8 kB / 439.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.2301, allocations: 148.8 kB / 440 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.2301, allocations: 8.828 kB / 440 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003983/0.2305, allocations: 239.1 kB / 440.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.2305, allocations: 0 / 440.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003438/0.234, allocations: 1.772 MB / 442 MB, free: 6.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.2341, allocations: 170.1 kB / 442.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.2343, allocations: 361.7 kB / 442.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.2344, allocations: 41.7 kB / 442.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.2345, allocations: 216.5 kB / 442.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.2346, allocations: 134.1 kB / 442.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.2347, allocations: 90.02 kB / 443 MB, free: 5.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.2348, allocations: 354.8 kB / 443.3 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.2351, allocations: 166.5 kB / 443.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.2355, allocations: 271.4 kB / 443.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.236, allocations: 359.7 kB / 444.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.236, allocations: 0 / 444.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001015/0.237, allocations: 0.5562 MB / 444.7 MB, free: 3.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2371, allocations: 4 kB / 444.7 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2371, allocations: 4 kB / 444.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003884/0.2375, allocations: 160.8 kB / 444.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2378, allocations: 87.88 kB / 444.9 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005125/0.2383, allocations: 0.7046 MB / 445.6 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.2386, allocations: 59.95 kB / 445.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.2387, allocations: 16 kB / 445.7 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003053/0.239, allocations: 245 kB / 445.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002527/0.2393, allocations: 231.5 kB / 446.2 MB, free: 1.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003642/0.2396, allocations: 295.8 kB / 446.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.2396, allocations: 0 / 446.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008181/0.2405, allocations: 493.6 kB / 446.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2405, allocations: 9.25 kB / 446.9 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2405, allocations: 0 / 446.9 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.2408, allocations: 168.8 kB / 447.1 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.241, allocations: 59.91 kB / 447.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005196/0.2415, allocations: 0.7234 MB / 447.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.2419, allocations: 43.95 kB / 447.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.2419, allocations: 16 kB / 447.9 MB, free: 15.83 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 (41): * Single equations (assignments): 40 * 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.0001846/0.2421, allocations: 212.1 kB / 448.1 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.2422, allocations: 43.44 kB / 448.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.2423, allocations: 60.25 kB / 448.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2424, allocations: 4 kB / 448.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2424, allocations: 0 / 448.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2424, allocations: 3.984 kB / 448.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.2445, allocations: 1.173 MB / 449.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2445, allocations: 0 / 449.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.2448, allocations: 68 kB / 449.5 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/0.2451, allocations: 148.8 kB / 449.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.2452, allocations: 19.98 kB / 449.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000583/0.2457, allocations: 0.685 MB / 450.3 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2458, allocations: 0 / 450.3 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.2473, allocations: 0.8001 MB / 451.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.2475, allocations: 152.5 kB / 451.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/0.2476, allocations: 16 kB / 451.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.248, allocations: 55.98 kB / 451.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.2481, allocations: 59.67 kB / 451.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.2482, allocations: 15.98 kB / 451.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002936/0.2485, allocations: 263.2 kB / 451.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2485, allocations: 0 / 451.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007086/0.2492, allocations: 176 kB / 451.9 MB, free: 11.75 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 (30): * Single equations (assignments): 27 * 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.001097/0.2503, allocations: 488.5 kB / 452.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.2519, allocations: 0.6361 MB / 453 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.2519, allocations: 4 kB / 453 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.2524, allocations: 228.6 kB / 453.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.253, allocations: 104 kB / 453.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.2553, allocations: 1.008 MB / 454.3 MB, free: 9.434 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.2557, allocations: 0.82 MB / 455.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.256, allocations: 63.25 kB / 455.2 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2561, allocations: 43.42 kB / 455.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of SimCode: time 1.973e-06/0.2561, allocations: 0 / 455.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of Templates: time 0.0159/0.272, allocations: 9.599 MB / 464.8 MB, free: 14.94 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)