Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.FirstEV.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04454/0.04454, allocations: 8.033 MB / 24.17 MB, free: 0.6797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009745/0.0009744, allocations: 106.3 kB / 26.75 MB, free: 3.387 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.00111/0.00111, allocations: 195.3 kB / 29.44 MB, free: 0.7031 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.892/1.892, allocations: 222.9 MB / 254.9 MB, free: 4.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02353/0.02353, allocations: 3.128 MB / 309.9 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.005941/0.005941, allocations: 83.22 kB / 377 MB, free: 52.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2181, allocations: 51.99 MB / 429 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.009158/0.2274, allocations: 3.163 MB / 432.2 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.233, allocations: 2.118 MB / 434.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008237/0.2339, allocations: 11.94 kB / 434.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.2348, allocations: 95.16 kB / 434.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.2363, allocations: 154.9 kB / 434.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.2386, allocations: 414.8 kB / 435 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2401, allocations: 0.6154 MB / 435.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005974/0.2407, allocations: 152.8 kB / 435.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.2414, allocations: 267.1 kB / 436 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007625/0.2422, allocations: 250.9 kB / 436.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.2424, allocations: 52 kB / 436.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006981/0.2431, allocations: 155.9 kB / 436.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.2434, allocations: 119.6 kB / 436.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.2439, allocations: 238.8 kB / 436.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.2454, allocations: 0.639 MB / 437.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.2454, allocations: 0 / 437.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.2454, allocations: 0 / 437.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.2455, allocations: 0 / 437.4 MB, free: 11.71 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.002909/0.2484, allocations: 0.8117 MB / 438.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.342e-05/0.2485, allocations: 8.031 kB / 438.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.2489, allocations: 56.38 kB / 438.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008879/0.2498, allocations: 376.1 kB / 438.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.25, allocations: 51.27 kB / 438.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.2501, allocations: 47.83 kB / 438.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.2516, allocations: 461.5 kB / 439.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.2516, allocations: 0 / 439.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.2517, allocations: 16 kB / 439.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.2518, allocations: 8 kB / 439.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.2531, allocations: 331.7 kB / 439.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.2571, allocations: 1.35 MB / 440.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.2589, allocations: 386.4 kB / 441.3 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.2595, allocations: 148.7 kB / 441.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-05/0.2596, allocations: 8.469 kB / 441.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.2607, allocations: 239.1 kB / 441.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 5.34e-06/0.2607, allocations: 0 / 441.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.007148/0.2679, allocations: 1.768 MB / 443.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.2681, allocations: 162.2 kB / 443.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.2688, allocations: 324.5 kB / 443.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.2689, allocations: 45.7 kB / 444 MB, free: 4.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.2691, allocations: 216.5 kB / 444.2 MB, free: 4.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.2693, allocations: 134.2 kB / 444.3 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.2696, allocations: 82.03 kB / 444.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2698, allocations: 346.8 kB / 444.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006668/0.2705, allocations: 174.5 kB / 444.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.2713, allocations: 263.4 kB / 445.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.2726, allocations: 359.7 kB / 445.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2726, allocations: 3.938 kB / 445.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002427/0.275, allocations: 0.5562 MB / 446.1 MB, free: 2.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.2751, allocations: 4 kB / 446.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.2751, allocations: 4 kB / 446.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008308/0.276, allocations: 168.9 kB / 446.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.2765, allocations: 71.89 kB / 446.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.2775, allocations: 0.7156 MB / 447 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.2783, allocations: 64.02 kB / 447.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/0.2784, allocations: 12 kB / 447.1 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006817/0.2791, allocations: 249 kB / 447.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005491/0.2797, allocations: 227.5 kB / 447.6 MB, free: 1.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007736/0.2805, allocations: 295.8 kB / 447.9 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.518e-06/0.2805, allocations: 4 kB / 447.9 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001707/0.2822, allocations: 485.8 kB / 448.3 MB, free: 216 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.2823, allocations: 9.094 kB / 448.4 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.2823, allocations: 0 / 448.4 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.2829, allocations: 168.7 kB / 448.5 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.2833, allocations: 67.94 kB / 448.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.2845, allocations: 0.7085 MB / 449.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.2853, allocations: 48.06 kB / 449.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.2854, allocations: 20 kB / 449.4 MB, free: 15.16 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.0003764/0.2858, allocations: 204.2 kB / 449.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.286, allocations: 43.52 kB / 449.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.2863, allocations: 60.06 kB / 449.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.2863, allocations: 7.938 kB / 449.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.2863, allocations: 0 / 449.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.2863, allocations: 4 kB / 449.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.2904, allocations: 1.157 MB / 450.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.2905, allocations: 4.094 kB / 450.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.2911, allocations: 71.89 kB / 450.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007068/0.2918, allocations: 136.8 kB / 451 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/0.2919, allocations: 19.92 kB / 451.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.2932, allocations: 0.6888 MB / 451.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.2932, allocations: 4.031 kB / 451.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.2962, allocations: 0.7794 MB / 452.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.2967, allocations: 164.6 kB / 452.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.2969, allocations: 12 kB / 452.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.2976, allocations: 51.94 kB / 452.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.2979, allocations: 59.84 kB / 452.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.298, allocations: 19.98 kB / 452.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005282/0.2986, allocations: 227.1 kB / 453 MB, free: 11.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.2986, allocations: 7.938 kB / 453.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001431/0.3, allocations: 179.9 kB / 453.2 MB, free: 11.14 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.002303/0.3024, allocations: 480.7 kB / 453.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.3054, allocations: 0.6523 MB / 454.4 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.3055, allocations: 4.125 kB / 454.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.3065, allocations: 223.5 kB / 454.6 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.3078, allocations: 88.94 kB / 454.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.3118, allocations: 1.005 MB / 455.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.3126, allocations: 0.8122 MB / 456.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.3129, allocations: 39.42 kB / 456.5 MB, free: 7.957 MB / 318.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3129, allocations: 0 / 456.5 MB, free: 7.957 MB / 318.1 MB Notification: Performance of Templates: time 0.0237/0.3366, allocations: 7.673 MB / 464.2 MB, free: 308 kB / 318.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe 2>&1)