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 3.0.0-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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-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 3.0.0-main/package.mo): time 0.04829/0.04829, allocations: 8.41 MB / 23.91 MB, free: 4.527 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 104.8 kB / 26.66 MB, free: 2.648 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.001597/0.001596, allocations: 198.8 kB / 29.54 MB, free: 6.328 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 222.9 MB / 255.2 MB, free: 4.281 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01554/0.01554, allocations: 3.351 MB / 310.6 MB, free: 1.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 100.1 kB / 378 MB, free: 52.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1543, allocations: 52.21 MB / 430.2 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004751/0.1591, allocations: 3.182 MB / 433.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.1625, allocations: 2.122 MB / 435.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.1627, allocations: 12 kB / 435.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.1633, allocations: 95.16 kB / 435.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.1637, allocations: 146.9 kB / 435.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.1646, allocations: 414.4 kB / 436.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.1651, allocations: 0.6154 MB / 436.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.1653, allocations: 160.8 kB / 436.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1656, allocations: 255.2 kB / 437.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.1659, allocations: 250.9 kB / 437.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.166, allocations: 52 kB / 437.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.1663, allocations: 155.9 kB / 437.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1664, allocations: 131.5 kB / 437.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1666, allocations: 230.8 kB / 438 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.1672, allocations: 0.6389 MB / 438.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1672, allocations: 0 / 438.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1672, allocations: 4 kB / 438.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1672, allocations: 0 / 438.6 MB, free: 9.98 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.001268/0.1685, allocations: 0.804 MB / 439.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1686, allocations: 12.03 kB / 439.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.1687, allocations: 52.36 kB / 439.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.1691, allocations: 380.1 kB / 439.9 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.1692, allocations: 55.27 kB / 439.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.1692, allocations: 43.83 kB / 440 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/0.1699, allocations: 469.4 kB / 440.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.17, allocations: 7.922 kB / 440.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.17, allocations: 16 kB / 440.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.17, allocations: 8 kB / 440.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.1707, allocations: 339.8 kB / 440.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.1726, allocations: 1.331 MB / 442.1 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/0.1736, allocations: 397 kB / 442.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.1739, allocations: 156.8 kB / 442.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.1739, allocations: 8.297 kB / 442.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005057/0.1744, allocations: 231.7 kB / 442.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.1745, allocations: 4 kB / 442.9 MB, free: 5.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003863/0.1783, allocations: 1.768 MB / 444.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.1784, allocations: 166.2 kB / 444.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.1787, allocations: 332.5 kB / 445.2 MB, free: 3.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.1788, allocations: 33.7 kB / 445.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1789, allocations: 212.5 kB / 445.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.179, allocations: 134.1 kB / 445.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1791, allocations: 90.02 kB / 445.6 MB, free: 2.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.1792, allocations: 346.8 kB / 446 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.1796, allocations: 166.5 kB / 446.1 MB, free: 2.086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.18, allocations: 271.4 kB / 446.4 MB, free: 1.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.1806, allocations: 351.7 kB / 446.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1806, allocations: 0 / 446.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001096/0.1817, allocations: 0.5483 MB / 447.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1817, allocations: 8.219 kB / 447.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1817, allocations: 4 kB / 447.3 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.1822, allocations: 165.4 kB / 447.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.1825, allocations: 75.83 kB / 447.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006274/0.1831, allocations: 0.7159 MB / 448.2 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.1835, allocations: 56 kB / 448.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.1836, allocations: 23.98 kB / 448.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000422/0.184, allocations: 237 kB / 448.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004013/0.1844, allocations: 235.4 kB / 448.8 MB, free: 15.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005415/0.1849, allocations: 295.8 kB / 449.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.185, allocations: 0 / 449.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001051/0.186, allocations: 493.7 kB / 449.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.186, allocations: 4 kB / 449.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1861, allocations: 4 kB / 449.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.1864, allocations: 161 kB / 449.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.1867, allocations: 71.91 kB / 449.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007128/0.1874, allocations: 0.7046 MB / 450.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.1878, allocations: 43.95 kB / 450.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.1878, allocations: 27.92 kB / 450.6 MB, free: 13.43 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.0002386/0.1881, allocations: 212.2 kB / 450.8 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/0.1881, allocations: 39.53 kB / 450.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1883, allocations: 55.94 kB / 450.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1883, allocations: 8 kB / 450.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.1883, allocations: 0 / 450.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.1883, allocations: 3.984 kB / 450.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.1906, allocations: 1.169 MB / 452 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1906, allocations: 0 / 452 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.1909, allocations: 71.89 kB / 452.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.1913, allocations: 144.8 kB / 452.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.1913, allocations: 11.98 kB / 452.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007044/0.1921, allocations: 0.6849 MB / 452.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1921, allocations: 0 / 452.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.1938, allocations: 0.7873 MB / 453.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.194, allocations: 156.5 kB / 453.9 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.1941, allocations: 12 kB / 453.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.1945, allocations: 59.92 kB / 454 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1946, allocations: 47.92 kB / 454 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.1947, allocations: 24.05 kB / 454 MB, free: 9.805 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002928/0.195, allocations: 231 kB / 454.3 MB, free: 9.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.195, allocations: 0 / 454.3 MB, free: 9.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007048/0.1957, allocations: 176 kB / 454.4 MB, free: 9.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 (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.001868/0.1976, allocations: 493 kB / 454.9 MB, free: 9.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.1994, allocations: 0.6479 MB / 455.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1994, allocations: 0 / 455.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005974/0.2, allocations: 223.8 kB / 455.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.2007, allocations: 108.8 kB / 455.9 MB, free: 8.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.203, allocations: 0.9668 MB / 456.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.2035, allocations: 0.8161 MB / 457.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.2038, allocations: 59.25 kB / 457.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2039, allocations: 35.42 kB / 457.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2039, allocations: 3.938 kB / 457.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of Templates: time 0.01763/0.2215, allocations: 9.37 MB / 467.1 MB, free: 12.87 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 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)