Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04212/0.04212, allocations: 8.03 MB / 24.2 MB, free: 384 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.0009967/0.0009967, allocations: 105.5 kB / 26.77 MB, free: 3.246 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.001177/0.001177, allocations: 206.2 kB / 29.47 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.34/1.34, allocations: 222.9 MB / 254.9 MB, free: 4.777 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01346/0.01346, allocations: 3.133 MB / 310 MB, free: 2.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 94.14 kB / 377.1 MB, free: 52.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07349/0.07531, allocations: 51.99 MB / 429.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003603/0.07894, allocations: 3.161 MB / 432.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.08122, allocations: 2.118 MB / 434.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.08143, allocations: 11.94 kB / 434.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.08172, allocations: 95.22 kB / 434.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.08204, allocations: 150.9 kB / 434.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.08267, allocations: 409.2 kB / 435 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.08306, allocations: 0.627 MB / 435.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.0833, allocations: 160.8 kB / 435.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.08351, allocations: 259.1 kB / 436.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.08378, allocations: 250.9 kB / 436.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.08386, allocations: 52 kB / 436.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.08408, allocations: 155.9 kB / 436.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.08422, allocations: 123.6 kB / 436.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.08438, allocations: 238.8 kB / 436.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.08486, allocations: 0.6389 MB / 437.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.08487, allocations: 0 / 437.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08488, allocations: 0 / 437.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.08489, allocations: 4 kB / 437.5 MB, free: 11.61 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.001207/0.08611, allocations: 0.8039 MB / 438.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.08614, allocations: 16.03 kB / 438.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.08629, allocations: 48.38 kB / 438.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.08666, allocations: 376.1 kB / 438.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.08672, allocations: 59.25 kB / 438.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.08679, allocations: 43.84 kB / 438.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.08753, allocations: 461.5 kB / 439.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.08755, allocations: 4 kB / 439.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.0876, allocations: 12 kB / 439.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.08762, allocations: 8 kB / 439.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.08834, allocations: 339.8 kB / 439.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.09017, allocations: 1.346 MB / 441 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/0.09111, allocations: 379.8 kB / 441.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.09146, allocations: 148.8 kB / 441.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.09151, allocations: 12.83 kB / 441.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004434/0.09196, allocations: 235.1 kB / 441.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.09197, allocations: 3.984 kB / 441.8 MB, free: 7.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00389/0.09586, allocations: 1.764 MB / 443.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.09592, allocations: 166.2 kB / 443.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.09618, allocations: 332.5 kB / 444 MB, free: 4.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.09623, allocations: 37.7 kB / 444.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.09632, allocations: 208.5 kB / 444.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.09641, allocations: 134.2 kB / 444.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.09654, allocations: 90.02 kB / 444.5 MB, free: 4.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.0966, allocations: 346.8 kB / 444.8 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.09698, allocations: 166.5 kB / 445 MB, free: 3.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.09738, allocations: 271.4 kB / 445.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/0.09802, allocations: 351.7 kB / 445.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09803, allocations: 8 kB / 445.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001154/0.09919, allocations: 0.5484 MB / 446.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.09921, allocations: 9.094 kB / 446.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.09922, allocations: 224 / 446.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.09961, allocations: 173.6 kB / 446.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.0999, allocations: 83.88 kB / 446.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005207/0.1004, allocations: 0.7013 MB / 447.1 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.1008, allocations: 59.98 kB / 447.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.1009, allocations: 23.94 kB / 447.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003079/0.1012, allocations: 241 kB / 447.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002819/0.1015, allocations: 231.4 kB / 447.7 MB, free: 0.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003904/0.1019, allocations: 299.8 kB / 447.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.1019, allocations: 3.984 kB / 448 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008815/0.1028, allocations: 493.6 kB / 448.4 MB, free: 104 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/0.1028, allocations: 4 kB / 448.4 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.1028, allocations: 4 kB / 448.4 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003935/0.1032, allocations: 164.4 kB / 448.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.1034, allocations: 63.91 kB / 448.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006609/0.1041, allocations: 0.7162 MB / 449.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.1045, allocations: 43.95 kB / 449.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.1045, allocations: 16 kB / 449.4 MB, free: 15.07 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.0001541/0.1047, allocations: 212.2 kB / 449.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.1048, allocations: 39.59 kB / 449.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1049, allocations: 56 kB / 449.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1049, allocations: 4 kB / 449.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1049, allocations: 0 / 449.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1049, allocations: 0 / 449.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.107, allocations: 1.161 MB / 450.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.1071, allocations: 4 kB / 450.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.1074, allocations: 71.89 kB / 451 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/0.1077, allocations: 148.8 kB / 451.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.1078, allocations: 11.98 kB / 451.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006208/0.1084, allocations: 0.685 MB / 451.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1084, allocations: 0 / 451.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.1102, allocations: 0.8026 MB / 452.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1103, allocations: 160.5 kB / 452.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.1104, allocations: 8 kB / 452.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.1108, allocations: 55.94 kB / 452.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.111, allocations: 51.91 kB / 452.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.111, allocations: 19.98 kB / 452.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.1113, allocations: 231.1 kB / 453.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1113, allocations: 0 / 453.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006092/0.1119, allocations: 180 kB / 453.3 MB, free: 11.04 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.001091/0.113, allocations: 485.2 kB / 453.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.1146, allocations: 0.6484 MB / 454.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1147, allocations: 0 / 454.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.1152, allocations: 227.5 kB / 454.7 MB, free: 9.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.1159, allocations: 98.94 kB / 454.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1179, allocations: 0.9973 MB / 455.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1183, allocations: 0.8161 MB / 456.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1184, allocations: 35.42 kB / 456.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1184, allocations: 8 kB / 456.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of Templates: time 0.009526/0.1279, allocations: 7.664 MB / 464.3 MB, free: 208 kB / 318.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEV.pipe 2>&1)