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-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_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-main/package.mo): time 0.04054/0.04054, allocations: 8.029 MB / 23.66 MB, free: 268 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.0008777/0.0008778, allocations: 104.8 kB / 26.25 MB, free: 3.238 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.001027/0.001027, allocations: 198.6 kB / 28.94 MB, free: 0.5586 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.208/1.208, allocations: 222.9 MB / 254.4 MB, free: 4.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01199/0.01199, allocations: 3.12 MB / 309.4 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 91.86 kB / 429.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07609/0.07774, allocations: 51.97 MB / 481.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004276/0.08205, allocations: 3.173 MB / 484.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.08505, allocations: 2.13 MB / 487 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.08536, allocations: 11.94 kB / 487 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.08577, allocations: 91.22 kB / 487.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.08623, allocations: 150.9 kB / 487.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.08708, allocations: 410.6 kB / 487.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006841/0.08777, allocations: 0.6232 MB / 488.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.08804, allocations: 156.7 kB / 488.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.08839, allocations: 263.1 kB / 488.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.08879, allocations: 254.9 kB / 488.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-05/0.08889, allocations: 48 kB / 489 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.08917, allocations: 163.8 kB / 489.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.08931, allocations: 127.6 kB / 489.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.08954, allocations: 230.8 kB / 489.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.09027, allocations: 0.6499 MB / 490.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.09029, allocations: 0 / 490.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.09029, allocations: 0 / 490.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.09032, allocations: 0 / 490.1 MB, free: 2.254 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.00136/0.09168, allocations: 0.8188 MB / 490.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.09172, allocations: 12.03 kB / 491 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.0919, allocations: 52.61 kB / 491 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.09243, allocations: 396.3 kB / 491.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/0.0925, allocations: 59.25 kB / 491.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.09257, allocations: 43.89 kB / 491.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007884/0.09336, allocations: 457.5 kB / 491.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.09339, allocations: 4 kB / 491.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.09344, allocations: 15.94 kB / 492 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.09345, allocations: 8 kB / 492 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.09419, allocations: 335.8 kB / 492.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.09623, allocations: 1.347 MB / 493.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.0972, allocations: 389.7 kB / 494 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.09753, allocations: 144.8 kB / 494.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.09758, allocations: 4 kB / 494.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.09806, allocations: 243.6 kB / 494.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.09807, allocations: 0 / 494.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003961/0.102, allocations: 1.773 MB / 496.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.1021, allocations: 166.1 kB / 496.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1025, allocations: 324.6 kB / 496.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.1025, allocations: 41.69 kB / 496.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1027, allocations: 208.8 kB / 496.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1028, allocations: 142.9 kB / 497 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1029, allocations: 90.06 kB / 497.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.103, allocations: 346.8 kB / 497.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.1034, allocations: 166.5 kB / 497.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.1039, allocations: 275.4 kB / 497.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.1046, allocations: 359.6 kB / 498.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1046, allocations: 3.984 kB / 498.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001185/0.1058, allocations: 0.5486 MB / 498.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1058, allocations: 8 kB / 498.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1058, allocations: 0 / 498.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.1062, allocations: 160.9 kB / 499 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.1065, allocations: 83.88 kB / 499 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006221/0.1071, allocations: 0.7162 MB / 499.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.1075, allocations: 55.88 kB / 499.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/0.1076, allocations: 20 kB / 499.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000357/0.1079, allocations: 244.9 kB / 0.4884 GB, free: 7.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003057/0.1082, allocations: 231.5 kB / 0.4886 GB, free: 7.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004591/0.1087, allocations: 295.9 kB / 0.4889 GB, free: 7.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.1087, allocations: 3.938 kB / 0.4889 GB, free: 7.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009401/0.1097, allocations: 493.8 kB / 0.4893 GB, free: 6.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.1097, allocations: 4 kB / 0.4893 GB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.1097, allocations: 4 kB / 0.4893 GB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.1101, allocations: 165 kB / 0.4895 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1103, allocations: 67.84 kB / 0.4896 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005855/0.1109, allocations: 0.7124 MB / 0.4903 GB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.1112, allocations: 43.95 kB / 0.4903 GB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1112, allocations: 16 kB / 0.4903 GB, free: 5.668 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 (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.0001485/0.1114, allocations: 212.2 kB / 0.4905 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.1115, allocations: 47.66 kB / 0.4906 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.1116, allocations: 56 kB / 0.4906 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1116, allocations: 4 kB / 0.4906 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1116, allocations: 0 / 0.4906 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1116, allocations: 0 / 0.4906 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.1135, allocations: 1.158 MB / 0.4918 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1135, allocations: 0 / 0.4918 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.1138, allocations: 71.89 kB / 0.4918 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.1142, allocations: 140.8 kB / 0.492 GB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.1142, allocations: 11.98 kB / 0.492 GB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005719/0.1148, allocations: 0.6888 MB / 0.4926 GB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1148, allocations: 8.094 kB / 0.4926 GB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.1164, allocations: 0.7847 MB / 0.4934 GB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.1165, allocations: 160.8 kB / 0.4936 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.1166, allocations: 8 kB / 0.4936 GB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.117, allocations: 56 kB / 0.4936 GB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.1171, allocations: 59.84 kB / 0.4937 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.1172, allocations: 27.98 kB / 0.4937 GB, free: 2.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.1174, allocations: 227.1 kB / 0.4939 GB, free: 1.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1174, allocations: 0 / 0.4939 GB, free: 1.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005823/0.118, allocations: 187.9 kB / 0.4941 GB, free: 1.621 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 (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.0009782/0.119, allocations: 472.8 kB / 0.4946 GB, free: 1.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.1205, allocations: 0.6404 MB / 0.4952 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1205, allocations: 0 / 0.4952 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.121, allocations: 243.8 kB / 0.4954 GB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.1216, allocations: 95.8 kB / 0.4955 GB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1235, allocations: 0.9738 MB / 0.4965 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1238, allocations: 0.8122 MB / 0.4973 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.124, allocations: 63.22 kB / 0.4973 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1241, allocations: 39.42 kB / 0.4973 GB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1242, allocations: 0 / 0.4973 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01384/0.138, allocations: 9.457 MB / 0.5066 GB, free: 5.012 MB / 382.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)