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.0935/0.0935, allocations: 8.029 MB / 23 MB, free: 0.5508 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.00103/0.00103, allocations: 95.77 kB / 25.57 MB, free: 3.742 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.001548/0.001548, allocations: 189 kB / 28.23 MB, free: 1.086 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.453/1.453, allocations: 223.3 MB / 254 MB, free: 3.984 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01218/0.01218, allocations: 3.116 MB / 310 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004781, allocations: 19.06 kB / 377.5 MB, free: 53.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 52.97 MB / 430.4 MB, free: 17.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003652/0.1364, allocations: 2.707 MB / 433.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.1392, allocations: 2.001 MB / 435.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.1395, allocations: 7.938 kB / 435.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.14, allocations: 75.53 kB / 435.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.1403, allocations: 123.2 kB / 435.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.1412, allocations: 308.6 kB / 435.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.1417, allocations: 0.5373 MB / 436.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.1419, allocations: 123.3 kB / 436.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1422, allocations: 211.2 kB / 436.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.1425, allocations: 215 kB / 436.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.1425, allocations: 20 kB / 436.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.1428, allocations: 115.9 kB / 436.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.1429, allocations: 87.64 kB / 436.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.143, allocations: 105.4 kB / 437 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1434, allocations: 471.1 kB / 437.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1434, allocations: 4 kB / 437.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1434, allocations: 0 / 437.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1435, allocations: 0 / 437.5 MB, free: 10.68 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.001163/0.1446, allocations: 0.7493 MB / 438.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1447, allocations: 8.031 kB / 438.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.1449, allocations: 55.42 kB / 438.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.1454, allocations: 363.1 kB / 438.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.1455, allocations: 50.7 kB / 438.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.1456, allocations: 36 kB / 438.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.1464, allocations: 481.4 kB / 439.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.1464, allocations: 7.906 kB / 439.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.1465, allocations: 23.89 kB / 439.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.1465, allocations: 8 kB / 439.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.1472, allocations: 355.7 kB / 439.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.1494, allocations: 1.366 MB / 441 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.1503, allocations: 437.3 kB / 441.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.1506, allocations: 160.8 kB / 441.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.1507, allocations: 8 kB / 441.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000517/0.1512, allocations: 252.2 kB / 441.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.424e-06/0.1512, allocations: 4 kB / 441.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003769/0.155, allocations: 1.872 MB / 443.7 MB, free: 4.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.1551, allocations: 162.2 kB / 443.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1554, allocations: 320.5 kB / 444.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.1554, allocations: 37.7 kB / 444.2 MB, free: 3.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1556, allocations: 220.4 kB / 444.4 MB, free: 3.375 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.1556, allocations: 134.1 kB / 444.5 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.1557, allocations: 8 kB / 444.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.1558, allocations: 346.8 kB / 444.9 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.1561, allocations: 172.8 kB / 445.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.1565, allocations: 271.4 kB / 445.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.1568, allocations: 168.1 kB / 445.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1568, allocations: 3.953 kB / 445.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001084/0.1579, allocations: 0.5796 MB / 446.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.158, allocations: 146.5 kB / 446.2 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.158, allocations: 4 kB / 446.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.1584, allocations: 168.8 kB / 446.4 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.1587, allocations: 83.83 kB / 446.5 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005956/0.1593, allocations: 0.7058 MB / 447.2 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.1597, allocations: 79.98 kB / 447.3 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.1597, allocations: 20 kB / 447.3 MB, free: 412 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.1597, allocations: 4 kB / 447.3 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009379/0.1607, allocations: 457.3 kB / 447.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1607, allocations: 4 kB / 447.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/0.1611, allocations: 156.8 kB / 447.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.1614, allocations: 63.91 kB / 447.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008974/0.1623, allocations: 0.717 MB / 448.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.1626, allocations: 56.02 kB / 448.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.1627, allocations: 16 kB / 448.7 MB, free: 14.91 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.000431/0.1631, allocations: 253.2 kB / 449 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.1632, allocations: 39.53 kB / 449 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.1634, allocations: 52.06 kB / 449.1 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1634, allocations: 7.953 kB / 449.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.1634, allocations: 0 / 449.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.1634, allocations: 7.922 kB / 449.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.1659, allocations: 1.181 MB / 450.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1659, allocations: 4.094 kB / 450.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.1662, allocations: 63.97 kB / 450.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.1667, allocations: 152.7 kB / 450.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.1667, allocations: 12 kB / 450.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008135/0.1675, allocations: 0.6772 MB / 451.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.1675, allocations: 3.953 kB / 451.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.1695, allocations: 0.8298 MB / 452 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.1697, allocations: 152.6 kB / 452.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.1698, allocations: 19.98 kB / 452.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.1702, allocations: 72 kB / 452.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.1704, allocations: 67.86 kB / 452.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.1705, allocations: 15.98 kB / 452.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.1709, allocations: 235 kB / 452.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1709, allocations: 0 / 452.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009059/0.1718, allocations: 175.9 kB / 452.7 MB, free: 10.76 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.001568/0.1734, allocations: 487.2 kB / 453.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.1751, allocations: 0.6569 MB / 453.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1752, allocations: 0 / 453.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.1758, allocations: 252.3 kB / 454.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.1764, allocations: 86.66 kB / 454.2 MB, free: 9.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.179, allocations: 1.187 MB / 455.4 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.1795, allocations: 0.8121 MB / 456.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.1797, allocations: 63.23 kB / 456.2 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1799, allocations: 35.44 kB / 456.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1799, allocations: 0 / 456.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of Templates: time 0.01658/0.1965, allocations: 8.595 MB / 464.9 MB, free: 14.75 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)