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/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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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/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/package.mo): time 0.04506/0.04506, allocations: 8.036 MB / 23.92 MB, free: 476 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.001332/0.001331, allocations: 114.1 kB / 26.48 MB, free: 3.457 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.001524/0.001524, allocations: 198.7 kB / 29.17 MB, free: 0.793 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.413/1.413, allocations: 222.9 MB / 254.6 MB, free: 3.309 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01373/0.01373, allocations: 3.12 MB / 309.6 MB, free: 2.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002739, allocations: 95.06 kB / 376.5 MB, free: 52.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07785/0.08061, allocations: 51.99 MB / 428.5 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003469/0.08411, allocations: 3.198 MB / 431.7 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.08652, allocations: 2.079 MB / 433.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.08677, allocations: 15.94 kB / 433.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.08714, allocations: 71.55 kB / 433.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.08751, allocations: 131.2 kB / 434 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.08819, allocations: 367.3 kB / 434.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.0886, allocations: 0.6231 MB / 435 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.08883, allocations: 164.8 kB / 435.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.08907, allocations: 263 kB / 435.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.08936, allocations: 262.9 kB / 435.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.08943, allocations: 48 kB / 435.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.08964, allocations: 151.9 kB / 435.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.08975, allocations: 123.6 kB / 436 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.08989, allocations: 238.8 kB / 436.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.09029, allocations: 0.4911 MB / 436.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.0903, allocations: 0 / 436.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09031, allocations: 4 kB / 436.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.09032, allocations: 0 / 436.7 MB, free: 12.38 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.001153/0.09148, allocations: 0.8078 MB / 437.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.09152, allocations: 8.031 kB / 437.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.09167, allocations: 52.38 kB / 437.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.09205, allocations: 376.1 kB / 437.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.09211, allocations: 51.27 kB / 438 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.09217, allocations: 39.84 kB / 438 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.09289, allocations: 473.4 kB / 438.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.09292, allocations: 3.984 kB / 438.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.09296, allocations: 16 kB / 438.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.09298, allocations: 8 kB / 438.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006335/0.09361, allocations: 335.7 kB / 438.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.09533, allocations: 1.339 MB / 440.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000865/0.09621, allocations: 383.6 kB / 440.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.09651, allocations: 156.7 kB / 440.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.09656, allocations: 8.516 kB / 440.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.09706, allocations: 243.6 kB / 441 MB, free: 7.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.09708, allocations: 0 / 441 MB, free: 7.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003612/0.1007, allocations: 1.761 MB / 442.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1008, allocations: 166.2 kB / 442.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.1011, allocations: 332.4 kB / 443.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.1011, allocations: 41.7 kB / 443.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.1012, allocations: 212.5 kB / 443.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.1013, allocations: 138.2 kB / 443.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1014, allocations: 82.03 kB / 443.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.1015, allocations: 350.8 kB / 444 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1018, allocations: 166.5 kB / 444.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.1022, allocations: 267.4 kB / 444.4 MB, free: 4.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.1028, allocations: 355.7 kB / 444.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1028, allocations: 0 / 444.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001069/0.1039, allocations: 0.5561 MB / 445.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1039, allocations: 4 kB / 445.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1039, allocations: 8.219 kB / 445.4 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.1043, allocations: 161.3 kB / 445.5 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.1046, allocations: 75.89 kB / 445.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/0.1051, allocations: 0.7157 MB / 446.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.1055, allocations: 56.03 kB / 446.4 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.1055, allocations: 19.98 kB / 446.4 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003057/0.1058, allocations: 245 kB / 446.6 MB, free: 1.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002484/0.1061, allocations: 231.5 kB / 446.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003705/0.1065, allocations: 287.8 kB / 447.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.1065, allocations: 0 / 447.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000843/0.1073, allocations: 493.6 kB / 447.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.1073, allocations: 8 kB / 447.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1074, allocations: 3.938 kB / 447.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003327/0.1077, allocations: 164.9 kB / 447.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.1079, allocations: 63.91 kB / 447.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005191/0.1084, allocations: 0.7123 MB / 448.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.1088, allocations: 47.94 kB / 448.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.1088, allocations: 20 kB / 448.6 MB, free: 15.84 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.0002112/0.1091, allocations: 205.1 kB / 448.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.1091, allocations: 39.53 kB / 448.9 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.1093, allocations: 55.98 kB / 448.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.1093, allocations: 4 kB / 448.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1093, allocations: 128 / 448.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1093, allocations: 4 kB / 448.9 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.1115, allocations: 1.177 MB / 450.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1115, allocations: 0 / 450.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.1118, allocations: 67.89 kB / 450.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.1122, allocations: 148.9 kB / 450.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.1123, allocations: 15.98 kB / 450.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006765/0.1129, allocations: 0.6733 MB / 451 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.113, allocations: 4.031 kB / 451 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.1147, allocations: 0.7988 MB / 451.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.1149, allocations: 156.5 kB / 452 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.115, allocations: 15.98 kB / 452 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.1154, allocations: 47.94 kB / 452 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.1155, allocations: 55.92 kB / 452.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.1156, allocations: 23.98 kB / 452.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.1159, allocations: 239 kB / 452.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1159, allocations: 0 / 452.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006813/0.1166, allocations: 172 kB / 452.5 MB, free: 11.81 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.001693/0.1183, allocations: 474.1 kB / 453 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.12, allocations: 0.6521 MB / 453.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.12, allocations: 0 / 453.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000589/0.1206, allocations: 235.5 kB / 453.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.1212, allocations: 100.3 kB / 453.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1235, allocations: 1.153 MB / 455.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.124, allocations: 0.8083 MB / 455.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1241, allocations: 47.36 kB / 456 MB, free: 8.469 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1241, allocations: 0 / 456 MB, free: 8.469 MB / 318.1 MB Notification: Performance of Templates: time 0.01143/0.1355, allocations: 7.67 MB / 463.6 MB, free: 0.8047 MB / 318.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)