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.06367/0.06367, allocations: 8.035 MB / 24.34 MB, free: 376 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.001118/0.001117, allocations: 103.8 kB / 26.91 MB, free: 3.102 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.001424/0.001424, allocations: 194.9 kB / 29.62 MB, free: 424 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.452/1.452, allocations: 222.9 MB / 255.1 MB, free: 4.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01248/0.01248, allocations: 3.133 MB / 310.1 MB, free: 2.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.001941, allocations: 91.86 kB / 430.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1185, allocations: 51.96 MB / 482.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.005504/0.124, allocations: 3.181 MB / 485.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.1281, allocations: 2.13 MB / 487.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005023/0.1287, allocations: 11.94 kB / 487.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.1293, allocations: 95.22 kB / 487.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007475/0.1301, allocations: 150.9 kB / 487.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1313, allocations: 410.6 kB / 488.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.1323, allocations: 0.6309 MB / 488.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.1327, allocations: 156.8 kB / 489.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005397/0.1332, allocations: 267.1 kB / 489.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.1338, allocations: 250.9 kB / 489.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.134, allocations: 48 kB / 489.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.1344, allocations: 163.9 kB / 489.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.1346, allocations: 119.6 kB / 489.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.1349, allocations: 242.8 kB / 490.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1359, allocations: 0.6503 MB / 490.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1359, allocations: 0 / 490.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1359, allocations: 0 / 490.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.136, allocations: 0 / 490.8 MB, free: 2.223 MB / 350.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.001919/0.1379, allocations: 0.8079 MB / 491.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1379, allocations: 8.031 kB / 491.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.1382, allocations: 52.38 kB / 491.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.1389, allocations: 388.1 kB / 492.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.139, allocations: 51.27 kB / 492.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.1391, allocations: 43.84 kB / 492.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009071/0.14, allocations: 465.5 kB / 492.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.1401, allocations: 0 / 492.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.1401, allocations: 16 kB / 492.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1401, allocations: 8 kB / 492.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.141, allocations: 327.8 kB / 493 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.1434, allocations: 1.342 MB / 494.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.1445, allocations: 385.5 kB / 494.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.1448, allocations: 148.8 kB / 494.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.1449, allocations: 11.98 kB / 494.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.1454, allocations: 239.7 kB / 495.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.1454, allocations: 0 / 495.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004384/0.1498, allocations: 1.765 MB / 496.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1499, allocations: 170.1 kB / 497 MB, free: 11.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.1503, allocations: 320.5 kB / 497.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.1504, allocations: 45.62 kB / 497.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1506, allocations: 212.5 kB / 497.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.1507, allocations: 134.2 kB / 497.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1509, allocations: 90.02 kB / 497.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.151, allocations: 346.8 kB / 498.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.1514, allocations: 166.5 kB / 498.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.1519, allocations: 271.4 kB / 498.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.1526, allocations: 367.5 kB / 498.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1526, allocations: 0 / 498.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001314/0.154, allocations: 0.5523 MB / 499.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.154, allocations: 4 kB / 499.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.154, allocations: 4 kB / 499.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/0.1545, allocations: 164.8 kB / 499.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1548, allocations: 79.83 kB / 499.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007477/0.1555, allocations: 0.7124 MB / 0.4887 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.1559, allocations: 55.88 kB / 0.4887 GB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.156, allocations: 16 kB / 0.4888 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000381/0.1564, allocations: 248.9 kB / 0.489 GB, free: 7.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003531/0.1568, allocations: 235.5 kB / 0.4892 GB, free: 7.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004853/0.1572, allocations: 291.8 kB / 0.4895 GB, free: 7.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.308e-06/0.1573, allocations: 4 kB / 0.4895 GB, free: 7.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001053/0.1583, allocations: 481.7 kB / 0.49 GB, free: 6.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1583, allocations: 11.94 kB / 0.49 GB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1584, allocations: 3.984 kB / 0.49 GB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.1588, allocations: 160.9 kB / 0.4901 GB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.159, allocations: 67.91 kB / 0.4902 GB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006935/0.1597, allocations: 0.7123 MB / 0.4909 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.1601, allocations: 47.89 kB / 0.4909 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.1601, allocations: 16.12 kB / 0.491 GB, free: 5.684 MB / 366.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.0002196/0.1603, allocations: 216.2 kB / 0.4912 GB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.1604, allocations: 39.53 kB / 0.4912 GB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.1606, allocations: 52 kB / 0.4912 GB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1606, allocations: 4 kB / 0.4912 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1606, allocations: 0 / 0.4912 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1606, allocations: 3.984 kB / 0.4913 GB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.1628, allocations: 1.154 MB / 0.4924 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1628, allocations: 12.08 kB / 0.4924 GB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.1631, allocations: 59.91 kB / 0.4924 GB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/0.1635, allocations: 148.8 kB / 0.4926 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.1636, allocations: 15.98 kB / 0.4926 GB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006234/0.1642, allocations: 0.6848 MB / 0.4933 GB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1642, allocations: 4.062 kB / 0.4933 GB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.1658, allocations: 0.7962 MB / 0.4941 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.1661, allocations: 152.5 kB / 0.4942 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/0.1662, allocations: 16 kB / 0.4942 GB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.1665, allocations: 52 kB / 0.4943 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.1667, allocations: 55.91 kB / 0.4943 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.1667, allocations: 15.98 kB / 0.4943 GB, free: 2.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002688/0.167, allocations: 235.1 kB / 0.4946 GB, free: 1.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.167, allocations: 0 / 0.4946 GB, free: 1.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006847/0.1677, allocations: 172 kB / 0.4947 GB, free: 1.664 MB / 366.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.001146/0.1689, allocations: 485 kB / 0.4952 GB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.1705, allocations: 0.6396 MB / 0.4958 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1705, allocations: 8.812 kB / 0.4958 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.171, allocations: 219.9 kB / 0.496 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.1717, allocations: 96.33 kB / 0.4961 GB, free: 420 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.1739, allocations: 0.996 MB / 0.4971 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.1744, allocations: 0.8122 MB / 0.4979 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1745, allocations: 43.42 kB / 0.4979 GB, free: 14.49 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1745, allocations: 0 / 0.4979 GB, free: 14.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01215/0.1867, allocations: 7.702 MB / 0.5054 GB, free: 6.805 MB / 382.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)