Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04524/0.04524, allocations: 8.018 MB / 24.16 MB, free: 412 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.000916/0.000916, allocations: 105.5 kB / 26.72 MB, free: 3.297 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.001148/0.001148, allocations: 186.6 kB / 29.41 MB, free: 0.625 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.28/1.28, allocations: 222.9 MB / 254.8 MB, free: 4.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01227/0.01227, allocations: 3.127 MB / 309.9 MB, free: 2.418 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 93.84 kB / 377 MB, free: 52.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.08433, allocations: 51.97 MB / 429 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003346/0.08771, allocations: 3.166 MB / 432.1 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.0898, allocations: 2.126 MB / 434.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.08997, allocations: 11.94 kB / 434.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.09027, allocations: 95.16 kB / 434.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.09057, allocations: 150.9 kB / 434.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.09113, allocations: 411.6 kB / 434.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.09151, allocations: 0.6193 MB / 435.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.09172, allocations: 156.8 kB / 435.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.09192, allocations: 263.1 kB / 436 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.09218, allocations: 250.9 kB / 436.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.627e-05/0.09225, allocations: 52 kB / 436.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.09244, allocations: 151.9 kB / 436.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/0.09253, allocations: 119.6 kB / 436.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.09267, allocations: 242.8 kB / 436.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.09312, allocations: 0.6351 MB / 437.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.09313, allocations: 0 / 437.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09314, allocations: 4 kB / 437.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.09315, allocations: 0 / 437.4 MB, free: 11.73 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.001061/0.09422, allocations: 0.8079 MB / 438.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.09425, allocations: 15.97 kB / 438.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.09439, allocations: 48.38 kB / 438.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.09474, allocations: 376.1 kB / 438.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.0948, allocations: 55.27 kB / 438.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.09486, allocations: 43.83 kB / 438.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.09552, allocations: 461.5 kB / 439.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.09555, allocations: 0 / 439.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.0956, allocations: 16 kB / 439.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.09561, allocations: 8 kB / 439.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.09626, allocations: 339.7 kB / 439.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.09793, allocations: 1.343 MB / 440.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/0.09878, allocations: 387.8 kB / 441.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.09907, allocations: 152.7 kB / 441.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.09912, allocations: 4.531 kB / 441.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.09957, allocations: 239.1 kB / 441.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.09959, allocations: 4 kB / 441.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003459/0.1031, allocations: 1.772 MB / 443.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1031, allocations: 166.2 kB / 443.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1034, allocations: 328.5 kB / 443.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.1034, allocations: 37.7 kB / 443.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.1035, allocations: 212.5 kB / 444.1 MB, free: 4.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.1036, allocations: 134.2 kB / 444.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1037, allocations: 86.03 kB / 444.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.1038, allocations: 346.8 kB / 444.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.1041, allocations: 166.5 kB / 444.9 MB, free: 3.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1045, allocations: 271.4 kB / 445.1 MB, free: 3.539 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.1051, allocations: 351.7 kB / 445.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1051, allocations: 3.938 kB / 445.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001036/0.1061, allocations: 0.5561 MB / 446 MB, free: 2.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1062, allocations: 8.219 kB / 446 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1062, allocations: 4.047 kB / 446 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.1066, allocations: 164.7 kB / 446.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.1068, allocations: 71.89 kB / 446.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000487/0.1073, allocations: 0.7201 MB / 447 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.1077, allocations: 55.92 kB / 447 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.1077, allocations: 16 kB / 447.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002967/0.108, allocations: 245 kB / 447.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002459/0.1083, allocations: 227.5 kB / 447.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003651/0.1086, allocations: 299.8 kB / 447.8 MB, free: 0.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.1087, allocations: 0 / 447.8 MB, free: 0.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008377/0.1095, allocations: 489.6 kB / 448.3 MB, free: 224 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.1095, allocations: 4 kB / 448.3 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.1095, allocations: 4 kB / 448.3 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.1099, allocations: 163.4 kB / 448.5 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.1101, allocations: 75.91 kB / 448.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006253/0.1107, allocations: 0.7085 MB / 449.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.1111, allocations: 47.94 kB / 449.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.1111, allocations: 20 kB / 449.3 MB, free: 15.18 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.0001578/0.1113, allocations: 204.3 kB / 449.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.1114, allocations: 43.52 kB / 449.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1115, allocations: 52.06 kB / 449.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1115, allocations: 7.938 kB / 449.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1115, allocations: 3.938 kB / 449.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.1117, allocations: 148.6 kB / 449.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.1118, allocations: 15.98 kB / 449.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.1121, allocations: 51.94 kB / 449.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1122, allocations: 51.92 kB / 449.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001495/0.1137, allocations: 0.5874 MB / 450.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001354/0.1151, allocations: 0.7536 MB / 451.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003676/0.1154, allocations: 167.9 kB / 451.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.1157, allocations: 231.1 kB / 451.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of Backend: time 2.31e-07/0.1157, allocations: 0 / 451.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.1185, allocations: 1.001 MB / 452.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of SimCode: time 0.001665/0.1202, allocations: 1.386 MB / 454 MB, free: 10.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01512/0.1353, allocations: 9.763 MB / 463.8 MB, free: 0.8828 MB / 318.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe 2>&1)