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.04857/0.04857, allocations: 8.031 MB / 23.66 MB, free: 4.684 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.0008924/0.0008924, allocations: 109 kB / 26.26 MB, free: 2.992 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.000982/0.000982, allocations: 195.1 kB / 28.95 MB, free: 320 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.22/1.22, allocations: 222.9 MB / 254.4 MB, free: 4.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01215/0.01215, allocations: 3.134 MB / 309.4 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 95.84 kB / 426.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07368/0.07529, allocations: 51.97 MB / 478.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.0043/0.07963, allocations: 3.296 MB / 482.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.08265, allocations: 2.161 MB / 484.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.08292, allocations: 11.94 kB / 484.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.08331, allocations: 99.14 kB / 484.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.08378, allocations: 162.8 kB / 484.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.08462, allocations: 410.9 kB / 485 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.08527, allocations: 0.6699 MB / 485.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.08553, allocations: 165.9 kB / 485.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.08588, allocations: 287.1 kB / 486.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.08624, allocations: 262.9 kB / 486.4 MB, free: 6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.49e-05/0.08633, allocations: 52 kB / 486.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.0866, allocations: 171.8 kB / 486.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.08673, allocations: 127.6 kB / 486.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.08697, allocations: 258.7 kB / 487 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.08767, allocations: 0.6853 MB / 487.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.08769, allocations: 7.938 kB / 487.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.08769, allocations: 0 / 487.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.08771, allocations: 0 / 487.7 MB, free: 4.707 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.00138/0.0891, allocations: 0.8389 MB / 488.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.08914, allocations: 16.03 kB / 488.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.08931, allocations: 56.36 kB / 488.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.0898, allocations: 388 kB / 488.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.08988, allocations: 55.27 kB / 489 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.08995, allocations: 47.94 kB / 489 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.09081, allocations: 497.4 kB / 489.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.09084, allocations: 3.906 kB / 489.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.09089, allocations: 16 kB / 489.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.09091, allocations: 12 kB / 489.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007704/0.09168, allocations: 351.8 kB / 489.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.09378, allocations: 1.421 MB / 491.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.0948, allocations: 399.3 kB / 491.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.09515, allocations: 157.3 kB / 491.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.0952, allocations: 8.578 kB / 491.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004731/0.09568, allocations: 238.5 kB / 492.1 MB, free: 32 kB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.895e-06/0.09569, allocations: 4 kB / 492.1 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.004146/0.09984, allocations: 1.817 MB / 493.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.09993, allocations: 158.2 kB / 494.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.1003, allocations: 328.5 kB / 494.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.1003, allocations: 37.7 kB / 494.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1004, allocations: 220.4 kB / 494.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.1006, allocations: 138.1 kB / 494.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1007, allocations: 94.14 kB / 494.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1008, allocations: 346.8 kB / 495.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.1012, allocations: 171 kB / 495.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.1016, allocations: 276.7 kB / 495.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/0.1024, allocations: 371.2 kB / 496 MB, free: 11.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1024, allocations: 3.938 kB / 496 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001279/0.1037, allocations: 0.587 MB / 496.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1037, allocations: 4 kB / 496.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1037, allocations: 4 kB / 496.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.1041, allocations: 160.9 kB / 496.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.1044, allocations: 79.89 kB / 496.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006134/0.105, allocations: 0.7157 MB / 497.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.1054, allocations: 55.94 kB / 497.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.1055, allocations: 16 kB / 497.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003599/0.1058, allocations: 261.1 kB / 497.9 MB, free: 9.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003109/0.1062, allocations: 240.8 kB / 498.1 MB, free: 9.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004535/0.1066, allocations: 291.7 kB / 498.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.1066, allocations: 4 kB / 498.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001002/0.1076, allocations: 0.5126 MB / 498.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1077, allocations: 11.94 kB / 498.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.1077, allocations: 0 / 498.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.108, allocations: 168.9 kB / 499.1 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.1083, allocations: 63.91 kB / 499.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005709/0.1089, allocations: 0.7123 MB / 499.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.1092, allocations: 47.98 kB / 499.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.1093, allocations: 16 kB / 500 MB, free: 7.781 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.0001451/0.1094, allocations: 224.7 kB / 0.4884 GB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.1095, allocations: 43.52 kB / 0.4885 GB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.1096, allocations: 52.41 kB / 0.4885 GB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1096, allocations: 4.125 kB / 0.4885 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1096, allocations: 4 kB / 0.4885 GB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1096, allocations: 3.984 kB / 0.4886 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.1116, allocations: 1.2 MB / 0.4897 GB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1116, allocations: 8.094 kB / 0.4897 GB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.1119, allocations: 67.95 kB / 0.4898 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/0.1123, allocations: 144.7 kB / 0.4899 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.1123, allocations: 15.98 kB / 0.4899 GB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005478/0.1129, allocations: 0.6772 MB / 0.4906 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1129, allocations: 8.047 kB / 0.4906 GB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.1145, allocations: 0.8114 MB / 0.4914 GB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.1146, allocations: 152.6 kB / 0.4916 GB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.1147, allocations: 12 kB / 0.4916 GB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.1151, allocations: 56 kB / 0.4916 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1152, allocations: 59.84 kB / 0.4917 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.1153, allocations: 19.98 kB / 0.4917 GB, free: 4.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.1155, allocations: 227.1 kB / 0.4919 GB, free: 3.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1155, allocations: 0 / 0.4919 GB, free: 3.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005868/0.1161, allocations: 184 kB / 0.4921 GB, free: 3.68 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.0009569/0.117, allocations: 486.6 kB / 0.4926 GB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.1185, allocations: 0.6565 MB / 0.4932 GB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1185, allocations: 0.875 kB / 0.4932 GB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.1191, allocations: 235.8 kB / 0.4934 GB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.1196, allocations: 98.05 kB / 0.4935 GB, free: 2.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1215, allocations: 1.001 MB / 0.4945 GB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1219, allocations: 0.8201 MB / 0.4953 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.1221, allocations: 59.25 kB / 0.4953 GB, free: 460 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.1222, allocations: 43.42 kB / 0.4954 GB, free: 416 kB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1222, allocations: 0 / 0.4954 GB, free: 416 kB / 366.1 MB Notification: Performance of Templates: time 0.01307/0.1353, allocations: 9.556 MB / 0.5047 GB, free: 6.902 MB / 382.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)