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 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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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 main/package.mo): time 0.07837/0.07837, allocations: 8.618 MB / 23.57 MB, free: 188 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.0008735/0.0008735, allocations: 100.4 kB / 26.27 MB, free: 3.098 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.001558/0.001559, allocations: 182.5 kB / 29.08 MB, free: 308 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.416/1.416, allocations: 223.2 MB / 254.9 MB, free: 3.129 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01199/0.012, allocations: 3.129 MB / 311.1 MB, free: 1.555 MB / 238.1 MB Warning: Requested package EHPTlib of version 2.1.0, but this package was already loaded with version . OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0006016/0.0006017, allocations: 14.55 kB / 378.7 MB, free: 53.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.112, allocations: 53.14 MB / 431.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003007/0.1151, allocations: 2.615 MB / 434.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1177, allocations: 1.993 MB / 436.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.118, allocations: 11.94 kB / 436.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.1184, allocations: 63.59 kB / 436.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.1188, allocations: 151.5 kB / 436.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.1196, allocations: 312 kB / 436.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.12, allocations: 375.3 kB / 437.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1202, allocations: 119.4 kB / 437.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.1204, allocations: 211.2 kB / 437.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1206, allocations: 203.1 kB / 437.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.1207, allocations: 24 kB / 437.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.1209, allocations: 107.8 kB / 437.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.121, allocations: 83.69 kB / 438 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.121, allocations: 105.5 kB / 438.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.1214, allocations: 467.1 kB / 438.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.1214, allocations: 0 / 438.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1214, allocations: 0 / 438.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1214, allocations: 0 / 438.6 MB, free: 10.9 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.001044/0.1225, allocations: 0.7532 MB / 439.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1225, allocations: 12.02 kB / 439.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.1227, allocations: 51.44 kB / 439.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.123, allocations: 367 kB / 439.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.1231, allocations: 50.7 kB / 439.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.1232, allocations: 36 kB / 439.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.1238, allocations: 473.5 kB / 440.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1238, allocations: 0 / 440.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.1239, allocations: 19.95 kB / 440.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1239, allocations: 15.98 kB / 440.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.1245, allocations: 355.7 kB / 440.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.1263, allocations: 1.378 MB / 442.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.1272, allocations: 423.4 kB / 442.5 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1272, allocations: 7.938 kB / 442.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.1276, allocations: 248.6 kB / 442.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.1277, allocations: 0 / 442.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003526/0.1312, allocations: 1.872 MB / 444.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1313, allocations: 170.2 kB / 444.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.1315, allocations: 320.5 kB / 445.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.1316, allocations: 37.7 kB / 445.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.1317, allocations: 212.5 kB / 445.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.1318, allocations: 134.1 kB / 445.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.1318, allocations: 8 kB / 445.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.1318, allocations: 346.8 kB / 445.8 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.1322, allocations: 168.8 kB / 446 MB, free: 3.117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1326, allocations: 271.4 kB / 446.2 MB, free: 2.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.1329, allocations: 172.1 kB / 446.4 MB, free: 2.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1329, allocations: 4 kB / 446.4 MB, free: 2.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001083/0.134, allocations: 0.5835 MB / 447 MB, free: 2.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.1341, allocations: 0.7862 MB / 447.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1341, allocations: 3.953 kB / 447.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/0.1345, allocations: 168.7 kB / 447.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.1348, allocations: 83.88 kB / 448 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004751/0.1353, allocations: 0.712 MB / 448.7 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.1357, allocations: 79.98 kB / 448.8 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.1357, allocations: 16 kB / 448.8 MB, free: 120 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.1357, allocations: 4 kB / 448.8 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009075/0.1366, allocations: 456.8 kB / 449.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1367, allocations: 3.953 kB / 449.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.1371, allocations: 156.9 kB / 449.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.1373, allocations: 67.91 kB / 449.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005903/0.1379, allocations: 0.7085 MB / 450.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.1382, allocations: 55.95 kB / 450.3 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.1383, allocations: 16 kB / 450.3 MB, free: 14.63 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,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002657/0.1385, allocations: 253.1 kB / 450.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.1386, allocations: 39.53 kB / 450.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1387, allocations: 52.06 kB / 450.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1387, allocations: 4 kB / 450.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.1388, allocations: 0 / 450.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1388, allocations: 3.984 kB / 450.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.141, allocations: 1.185 MB / 451.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.141, allocations: 4 kB / 451.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.1413, allocations: 71.89 kB / 451.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.1417, allocations: 144.8 kB / 452 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.1418, allocations: 11.98 kB / 452 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000785/0.1426, allocations: 0.6772 MB / 452.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1426, allocations: 128 / 452.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.1445, allocations: 0.8699 MB / 453.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.1447, allocations: 168.5 kB / 453.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.1448, allocations: 16 kB / 453.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.1452, allocations: 68 kB / 453.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.1454, allocations: 71.86 kB / 453.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.1454, allocations: 27.92 kB / 453.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.1457, allocations: 231 kB / 454.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1457, allocations: 0 / 454.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007329/0.1464, allocations: 172 kB / 454.3 MB, free: 10.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.1476, allocations: 489.2 kB / 454.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.1491, allocations: 0.6534 MB / 455.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1492, allocations: 4.125 kB / 455.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.1497, allocations: 251.5 kB / 455.7 MB, free: 9.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.1502, allocations: 81.55 kB / 455.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.1524, allocations: 1.171 MB / 457 MB, free: 7.922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1528, allocations: 0.8199 MB / 457.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.153, allocations: 63.23 kB / 457.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.1531, allocations: 39.42 kB / 457.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1532, allocations: 0 / 457.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of Templates: time 0.01363/0.1668, allocations: 8.579 MB / 466.5 MB, free: 14.43 MB / 334.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)