Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04312/0.04312, allocations: 8.036 MB / 24.3 MB, free: 20 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.0009932/0.0009932, allocations: 105.2 kB / 26.87 MB, free: 3.012 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.001215/0.001215, allocations: 193.9 kB / 29.58 MB, free: 332 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.292/1.292, allocations: 222.9 MB / 255 MB, free: 4.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0126/0.0126, allocations: 3.122 MB / 310.1 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 94.66 kB / 377.9 MB, free: 52.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.08485, allocations: 51.99 MB / 429.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003504/0.08838, allocations: 3.16 MB / 433.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.09074, allocations: 2.13 MB / 435.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.09093, allocations: 11.94 kB / 435.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.09124, allocations: 91.22 kB / 435.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.09156, allocations: 150.9 kB / 435.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.09218, allocations: 410.9 kB / 435.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.09258, allocations: 0.627 MB / 436.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.09279, allocations: 152.8 kB / 436.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.09299, allocations: 259.1 kB / 436.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.09326, allocations: 255 kB / 437.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.09332, allocations: 48 kB / 437.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.09353, allocations: 167.8 kB / 437.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.739e-05/0.09363, allocations: 123.6 kB / 437.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.09379, allocations: 234.8 kB / 437.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.09428, allocations: 0.6464 MB / 438.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09429, allocations: 0 / 438.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.0943, allocations: 0 / 438.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.09431, allocations: 0 / 438.3 MB, free: 10.76 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.001099/0.09542, allocations: 0.8117 MB / 439.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.09546, allocations: 12.03 kB / 439.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.09563, allocations: 48.38 kB / 439.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.09611, allocations: 384.1 kB / 439.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.09618, allocations: 59.2 kB / 439.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.09624, allocations: 43.84 kB / 439.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.09691, allocations: 461.5 kB / 440.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.09694, allocations: 4 kB / 440.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.09698, allocations: 12 kB / 440.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.09699, allocations: 8 kB / 440.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.0976, allocations: 343.7 kB / 440.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.09923, allocations: 1.339 MB / 441.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008084/0.1001, allocations: 383.9 kB / 442.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.1003, allocations: 144.8 kB / 442.4 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.1004, allocations: 12.47 kB / 442.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/0.1008, allocations: 235.1 kB / 442.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.1008, allocations: 0 / 442.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003295/0.1041, allocations: 1.765 MB / 444.4 MB, free: 4.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1042, allocations: 166.1 kB / 444.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1044, allocations: 332.5 kB / 444.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1045, allocations: 41.7 kB / 444.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.1045, allocations: 212.8 kB / 445.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.1046, allocations: 134.2 kB / 445.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.1047, allocations: 86.03 kB / 445.3 MB, free: 3.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.1048, allocations: 346.8 kB / 445.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.1051, allocations: 162.5 kB / 445.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.1055, allocations: 272 kB / 446.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.106, allocations: 359.7 kB / 446.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.106, allocations: 0 / 446.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001019/0.107, allocations: 0.5523 MB / 447 MB, free: 1.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1071, allocations: 5.25 kB / 447 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1071, allocations: 4 kB / 447 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.1074, allocations: 160.9 kB / 447.1 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.1077, allocations: 75.89 kB / 447.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004641/0.1082, allocations: 0.7194 MB / 447.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.1085, allocations: 55.92 kB / 448 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.1086, allocations: 24.06 kB / 448 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002822/0.1088, allocations: 241 kB / 448.3 MB, free: 340 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002383/0.1091, allocations: 227.4 kB / 448.5 MB, free: 68 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004392/0.1095, allocations: 295.9 kB / 448.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.1096, allocations: 4 kB / 448.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009481/0.1105, allocations: 493.6 kB / 449.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.1105, allocations: 4 kB / 449.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1105, allocations: 4.219 kB / 449.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.1109, allocations: 160.8 kB / 449.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1111, allocations: 71.84 kB / 449.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005663/0.1117, allocations: 0.7046 MB / 450.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.112, allocations: 43.94 kB / 450.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.1121, allocations: 24.19 kB / 450.3 MB, free: 14.21 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.0001419/0.1122, allocations: 208.2 kB / 450.5 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.1123, allocations: 39.53 kB / 450.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.1124, allocations: 55.98 kB / 450.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1124, allocations: 4 kB / 450.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1124, allocations: 7.938 kB / 450.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1125, allocations: 4.031 kB / 450.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.1143, allocations: 1.161 MB / 451.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1144, allocations: 0 / 451.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.1146, allocations: 71.89 kB / 451.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003361/0.115, allocations: 144.8 kB / 451.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.115, allocations: 11.98 kB / 452 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005517/0.1156, allocations: 0.6772 MB / 452.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1156, allocations: 11.95 kB / 452.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.1171, allocations: 0.7846 MB / 453.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.1173, allocations: 164.5 kB / 453.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.1174, allocations: 11.98 kB / 453.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.1177, allocations: 51.94 kB / 453.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1178, allocations: 59.61 kB / 453.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.1179, allocations: 15.98 kB / 453.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.1181, allocations: 239.1 kB / 454 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1181, allocations: 0 / 454 MB, free: 10.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000578/0.1187, allocations: 180 kB / 454.1 MB, free: 10.18 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.0009343/0.1196, allocations: 476.6 kB / 454.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.121, allocations: 0.6405 MB / 455.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.121, allocations: 3.938 kB / 455.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.1216, allocations: 227.8 kB / 455.5 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.1221, allocations: 93.47 kB / 455.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1238, allocations: 0.9678 MB / 456.5 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1241, allocations: 0.8083 MB / 457.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.1243, allocations: 59.25 kB / 457.4 MB, free: 7.035 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.1244, allocations: 39.42 kB / 457.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1244, allocations: 4 kB / 457.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of Templates: time 0.08477/0.2092, allocations: 9.375 MB / 466.8 MB, free: 13.67 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)