Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.FirstEVpow.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) Running command: translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05069/0.05069, allocations: 8.033 MB / 24.34 MB, free: 328 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.001171/0.001172, allocations: 108.6 kB / 26.92 MB, free: 3.062 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.001434/0.001434, allocations: 191.3 kB / 29.61 MB, free: 388 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.429/1.429, allocations: 222.9 MB / 255.1 MB, free: 4.664 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01268/0.01268, allocations: 3.129 MB / 310.1 MB, free: 2.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 91.86 kB / 427.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1122, allocations: 51.97 MB / 479.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004759/0.117, allocations: 3.305 MB / 482.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.1207, allocations: 2.149 MB / 485 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.121, allocations: 15.94 kB / 485 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.1215, allocations: 99.14 kB / 485.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.122, allocations: 158.8 kB / 485.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.1229, allocations: 414.7 kB / 485.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.1235, allocations: 0.6582 MB / 486.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.1238, allocations: 177.9 kB / 486.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.1242, allocations: 279.1 kB / 486.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.1245, allocations: 266.9 kB / 487 MB, free: 6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.1246, allocations: 55.94 kB / 487.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.1249, allocations: 171.8 kB / 487.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.1251, allocations: 135.6 kB / 487.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.1253, allocations: 250.7 kB / 487.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.1261, allocations: 0.6931 MB / 488.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1261, allocations: 3.984 kB / 488.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1261, allocations: 0 / 488.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.1261, allocations: 0 / 488.3 MB, free: 4.699 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001441/0.1275, allocations: 0.835 MB / 489.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1276, allocations: 12.03 kB / 489.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.1278, allocations: 56.36 kB / 489.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.1284, allocations: 388.1 kB / 489.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.1285, allocations: 55.27 kB / 489.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.1285, allocations: 43.94 kB / 489.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.1294, allocations: 0.4897 MB / 490.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.1295, allocations: 7.891 kB / 490.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.1295, allocations: 19.98 kB / 490.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1295, allocations: 12 kB / 490.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.1303, allocations: 351.7 kB / 490.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1325, allocations: 1.413 MB / 492 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/0.1335, allocations: 399.3 kB / 492.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.1338, allocations: 157.3 kB / 492.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.1339, allocations: 8.266 kB / 492.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.1344, allocations: 238.5 kB / 492.8 MB, free: 32 kB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.013e-06/0.1344, allocations: 4 kB / 492.8 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.004276/0.1387, allocations: 1.814 MB / 494.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/0.1388, allocations: 162.2 kB / 494.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.1392, allocations: 328.5 kB / 495.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1392, allocations: 41.69 kB / 495.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1394, allocations: 220.4 kB / 495.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1395, allocations: 138.1 kB / 495.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1397, allocations: 94.14 kB / 495.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1398, allocations: 346.8 kB / 495.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.1402, allocations: 167 kB / 496.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.1407, allocations: 276.6 kB / 496.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.1414, allocations: 379.2 kB / 496.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1414, allocations: 3.938 kB / 496.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001291/0.1427, allocations: 0.5753 MB / 497.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1427, allocations: 4 kB / 497.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1427, allocations: 4 kB / 497.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.1432, allocations: 176.7 kB / 497.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.1435, allocations: 83.89 kB / 497.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006883/0.1442, allocations: 0.7084 MB / 498.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.1446, allocations: 55.94 kB / 498.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.1447, allocations: 24.05 kB / 498.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003982/0.1451, allocations: 253.2 kB / 498.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003514/0.1454, allocations: 240.7 kB / 498.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004675/0.1459, allocations: 291.7 kB / 499.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.346e-06/0.1459, allocations: 8 kB / 499.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001024/0.1469, allocations: 0.5088 MB / 499.6 MB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.147, allocations: 15.97 kB / 499.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.147, allocations: 0 / 499.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/0.1474, allocations: 164.7 kB / 499.8 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1476, allocations: 67.91 kB / 499.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006163/0.1482, allocations: 0.7085 MB / 0.4888 GB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.1486, allocations: 48.02 kB / 0.4889 GB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.1486, allocations: 15.98 kB / 0.4889 GB, free: 7.773 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 (43): * Single equations (assignments): 42 * 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.0002114/0.1488, allocations: 224.7 kB / 0.4891 GB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.1489, allocations: 39.53 kB / 0.4892 GB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.1491, allocations: 48.41 kB / 0.4892 GB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1491, allocations: 4 kB / 0.4892 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.1491, allocations: 0 / 0.4892 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1491, allocations: 7.984 kB / 0.4892 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.1512, allocations: 1.2 MB / 0.4904 GB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1512, allocations: 4 kB / 0.4904 GB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.1515, allocations: 71.89 kB / 0.4905 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.1519, allocations: 144.8 kB / 0.4906 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.1519, allocations: 19.98 kB / 0.4906 GB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006042/0.1525, allocations: 0.6772 MB / 0.4913 GB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1526, allocations: 0 / 0.4913 GB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.1542, allocations: 0.8154 MB / 0.4921 GB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.1544, allocations: 148.6 kB / 0.4922 GB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.1545, allocations: 16 kB / 0.4922 GB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.1548, allocations: 51.94 kB / 0.4923 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.155, allocations: 63.91 kB / 0.4923 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.155, allocations: 19.98 kB / 0.4924 GB, free: 4.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002653/0.1553, allocations: 231 kB / 0.4926 GB, free: 3.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1553, allocations: 3.938 kB / 0.4926 GB, free: 3.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007212/0.156, allocations: 180 kB / 0.4928 GB, free: 3.676 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 (32): * Single equations (assignments): 29 * 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.001169/0.1572, allocations: 490.3 kB / 0.4932 GB, free: 3.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.1588, allocations: 0.6568 MB / 0.4939 GB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1588, allocations: 4 kB / 0.4939 GB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.1594, allocations: 232.5 kB / 0.4941 GB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.16, allocations: 98.77 kB / 0.4942 GB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.1622, allocations: 1.03 MB / 0.4952 GB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1626, allocations: 0.8162 MB / 0.496 GB, free: 480 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1627, allocations: 43.42 kB / 0.496 GB, free: 436 kB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1627, allocations: 0 / 0.496 GB, free: 436 kB / 366.1 MB Notification: Performance of Templates: time 0.01169/0.1744, allocations: 7.968 MB / 0.5038 GB, free: 8.469 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe 2>&1)