Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05518/0.05518, allocations: 8.94 MB / 24.21 MB, free: 4.246 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.0007737/0.0007737, allocations: 95.75 kB / 27.07 MB, free: 2.344 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.001076/0.001076, allocations: 186.8 kB / 30.03 MB, free: 5.934 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.421/1.421, allocations: 223.3 MB / 256.1 MB, free: 2.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01302/0.01302, allocations: 3.136 MB / 312.4 MB, free: 15.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004477, allocations: 17.34 kB / 377.8 MB, free: 52.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09183, allocations: 53.27 MB / 431 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.002861/0.09473, allocations: 2.953 MB / 434 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.09731, allocations: 2.084 MB / 436.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.0976, allocations: 11.94 kB / 436.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.09797, allocations: 83.47 kB / 436.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.09832, allocations: 139.1 kB / 436.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006889/0.09902, allocations: 361.2 kB / 436.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.09949, allocations: 0.6074 MB / 437.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.09973, allocations: 163.2 kB / 437.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.09998, allocations: 235 kB / 437.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.1003, allocations: 238.8 kB / 437.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.1004, allocations: 24 kB / 437.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.1006, allocations: 123.9 kB / 438 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.1007, allocations: 91.59 kB / 438.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1008, allocations: 256.4 kB / 438.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.1013, allocations: 0.6348 MB / 439 MB, free: 8.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1013, allocations: 8 kB / 439 MB, free: 8.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1014, allocations: 0 / 439 MB, free: 8.969 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1014, allocations: 0 / 439 MB, free: 8.969 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001241/0.1026, allocations: 0.7612 MB / 439.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1027, allocations: 13.44 kB / 439.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1028, allocations: 56.28 kB / 439.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.1032, allocations: 384.1 kB / 440.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.1033, allocations: 59.25 kB / 440.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.1034, allocations: 39.94 kB / 440.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.1042, allocations: 0.5053 MB / 440.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1042, allocations: 0 / 440.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.1043, allocations: 20 kB / 440.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1043, allocations: 8 kB / 440.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.1051, allocations: 379.8 kB / 441.2 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.1072, allocations: 1.456 MB / 442.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.1082, allocations: 455.2 kB / 443.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.1086, allocations: 165.3 kB / 443.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.1086, allocations: 12.28 kB / 443.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005145/0.1091, allocations: 245.6 kB / 443.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.474e-06/0.1091, allocations: 8 kB / 443.5 MB, free: 4.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.00409/0.1132, allocations: 1.923 MB / 445.5 MB, free: 2.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.1133, allocations: 162.2 kB / 445.6 MB, free: 1.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.1137, allocations: 324.5 kB / 445.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.1137, allocations: 37.7 kB / 446 MB, free: 1.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1138, allocations: 216.4 kB / 446.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.131e-05/0.1139, allocations: 150.3 kB / 446.3 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.114, allocations: 37.7 kB / 446.4 MB, free: 1.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.1141, allocations: 346.8 kB / 446.7 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.1144, allocations: 177 kB / 446.9 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.1148, allocations: 292.5 kB / 447.2 MB, free: 380 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.1155, allocations: 387.7 kB / 447.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1156, allocations: 0 / 447.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001489/0.1171, allocations: 0.6066 MB / 448.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.1172, allocations: 154.4 kB / 448.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1172, allocations: 4 kB / 448.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.1177, allocations: 171.7 kB / 448.5 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.1181, allocations: 87.89 kB / 448.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008115/0.1189, allocations: 0.7045 MB / 449.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.1194, allocations: 79.98 kB / 449.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.1194, allocations: 20 kB / 449.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.1195, allocations: 8 kB / 449.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/0.1206, allocations: 464.2 kB / 449.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1206, allocations: 8.031 kB / 449.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004317/0.1211, allocations: 164.6 kB / 450 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1213, allocations: 67.91 kB / 450.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008094/0.1221, allocations: 0.7046 MB / 450.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.1226, allocations: 59.95 kB / 450.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.1226, allocations: 16 kB / 450.8 MB, free: 12.57 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 (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.0003661/0.123, allocations: 264.9 kB / 451.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.1231, allocations: 43.53 kB / 451.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.1232, allocations: 48.41 kB / 451.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1232, allocations: 4 kB / 451.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1232, allocations: 0 / 451.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.1233, allocations: 7.984 kB / 451.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.1257, allocations: 1.212 MB / 452.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1257, allocations: 7.984 kB / 452.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.1261, allocations: 83.92 kB / 452.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003983/0.1265, allocations: 144.7 kB / 452.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.1265, allocations: 15.98 kB / 452.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007326/0.1273, allocations: 0.681 MB / 453.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1273, allocations: 4.031 kB / 453.3 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.1292, allocations: 0.8455 MB / 454.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.1295, allocations: 168.6 kB / 454.4 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.1296, allocations: 16.06 kB / 454.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.13, allocations: 75.94 kB / 454.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.1302, allocations: 55.84 kB / 454.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.1302, allocations: 19.98 kB / 454.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.1305, allocations: 235 kB / 454.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1305, allocations: 0 / 454.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007145/0.1312, allocations: 176 kB / 454.9 MB, free: 8.336 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 (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.00167/0.1329, allocations: 497.9 kB / 455.4 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.1347, allocations: 0.6872 MB / 456.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1347, allocations: 0 / 456.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.1353, allocations: 248.5 kB / 456.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.136, allocations: 85.38 kB / 456.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.1385, allocations: 1.28 MB / 457.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.139, allocations: 0.8201 MB / 458.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.1393, allocations: 63.22 kB / 458.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1394, allocations: 39.42 kB / 458.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1394, allocations: 3.938 kB / 458.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Templates: time 0.01613/0.1556, allocations: 8.94 MB / 467.6 MB, free: 11.85 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe 2>&1)