Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.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.FirstEVAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVAngle") translateModel(EHPTexamples.EV.FirstEVAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04838/0.04838, allocations: 8.039 MB / 23.31 MB, free: 76 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.0007278/0.0007278, allocations: 94.11 kB / 25.88 MB, free: 3.359 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.0009224/0.0009224, allocations: 191.6 kB / 28.56 MB, free: 0.7227 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.241/1.241, allocations: 223.3 MB / 254.4 MB, free: 3.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01155/0.01155, allocations: 3.107 MB / 310.4 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004674, allocations: 15.62 kB / 378.2 MB, free: 54.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08523, allocations: 52.98 MB / 431.2 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVAngle): time 0.002734/0.08801, allocations: 2.958 MB / 434.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.09053, allocations: 2.304 MB / 436.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.09075, allocations: 11.88 kB / 436.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.09113, allocations: 107.4 kB / 436.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.09144, allocations: 135.2 kB / 436.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.09218, allocations: 452.2 kB / 437.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.09265, allocations: 0.647 MB / 437.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.09289, allocations: 141.5 kB / 437.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.09311, allocations: 234.9 kB / 438.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/0.09344, allocations: 250.8 kB / 438.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.0935, allocations: 24 kB / 438.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.09376, allocations: 159.9 kB / 438.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.09387, allocations: 103.5 kB / 438.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.09403, allocations: 252.4 kB / 438.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.09452, allocations: 0.6892 MB / 439.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09453, allocations: 0 / 439.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.09454, allocations: 0 / 439.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.09455, allocations: 4 kB / 439.6 MB, free: 8.754 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001165/0.09572, allocations: 0.7925 MB / 440.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.09576, allocations: 12.03 kB / 440.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.09592, allocations: 60.28 kB / 440.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.09637, allocations: 416.7 kB / 440.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/0.09644, allocations: 55.27 kB / 440.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.09652, allocations: 43.84 kB / 441 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.09724, allocations: 0.4983 MB / 441.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.09727, allocations: 4 kB / 441.5 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.09732, allocations: 16 kB / 441.5 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.09733, allocations: 12 kB / 441.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.09804, allocations: 387.7 kB / 441.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.09986, allocations: 1.448 MB / 443.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.1007, allocations: 428.5 kB / 443.7 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.1011, allocations: 180.8 kB / 443.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.1011, allocations: 11.88 kB / 443.9 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.1016, allocations: 260 kB / 444.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.264e-06/0.1016, allocations: 4 kB / 444.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.00367/0.1053, allocations: 1.95 MB / 446.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.1053, allocations: 187.9 kB / 446.3 MB, free: 1.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.1057, allocations: 369.7 kB / 446.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.1057, allocations: 41.7 kB / 446.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1058, allocations: 232.4 kB / 446.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/0.1059, allocations: 142 kB / 447.1 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.106, allocations: 45.69 kB / 447.1 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.106, allocations: 354.8 kB / 447.5 MB, free: 456 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.1064, allocations: 201.9 kB / 447.7 MB, free: 252 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.1068, allocations: 305.8 kB / 448 MB, free: 15.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.1088, allocations: 0.7754 MB / 448.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1089, allocations: 0 / 448.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001398/0.1103, allocations: 0.6289 MB / 449.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.1104, allocations: 149.8 kB / 449.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1104, allocations: 4 kB / 449.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.1108, allocations: 168.6 kB / 449.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.1112, allocations: 99.94 kB / 449.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000669/0.1119, allocations: 0.7099 MB / 450.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.1123, allocations: 79.94 kB / 450.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.1124, allocations: 20 kB / 450.6 MB, free: 13.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.1124, allocations: 4 kB / 450.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001009/0.1134, allocations: 486.8 kB / 451.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1134, allocations: 4 kB / 451.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003521/0.1138, allocations: 169 kB / 451.2 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.114, allocations: 79.83 kB / 451.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000608/0.1147, allocations: 0.712 MB / 452 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.115, allocations: 60.05 kB / 452.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.1151, allocations: 20 kB / 452.1 MB, free: 11.64 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: dragF.altimetry:VARIABLE(unit = "m" fixed = true ) type: Real mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" type: Real 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,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0003564/0.1154, allocations: 280 kB / 452.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.1155, allocations: 43.44 kB / 452.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.1169, allocations: 0.6031 MB / 453 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.117, allocations: 7.938 kB / 453 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.117, allocations: 0 / 453 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.117, allocations: 0 / 453 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.1194, allocations: 1.348 MB / 454.4 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1195, allocations: 4 kB / 454.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.1198, allocations: 87.98 kB / 454.5 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/0.1201, allocations: 140.8 kB / 454.6 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.1202, allocations: 11.98 kB / 454.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005706/0.1208, allocations: 0.681 MB / 455.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1208, allocations: 4.031 kB / 455.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.1225, allocations: 0.8789 MB / 456.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.1226, allocations: 168.5 kB / 456.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.1227, allocations: 16 kB / 456.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.1231, allocations: 59.95 kB / 456.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.1232, allocations: 67.78 kB / 456.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.1233, allocations: 19.98 kB / 456.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002757/0.1235, allocations: 267.2 kB / 456.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1235, allocations: 0 / 456.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006586/0.1242, allocations: 203.9 kB / 457 MB, free: 6.613 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (mass.s,mass.v,dragF.altimetry) * Number of discrete variables: 7 ($whenCondition1,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode) * 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 (36): * Single equations (assignments): 33 * 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.001557/0.1258, allocations: 0.7079 MB / 457.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.1274, allocations: 0.7236 MB / 458.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1274, allocations: 0 / 458.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.128, allocations: 268.5 kB / 458.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.1287, allocations: 105.4 kB / 458.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1305, allocations: 1.324 MB / 460.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1309, allocations: 0.8317 MB / 460.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.1311, allocations: 71.36 kB / 461 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1313, allocations: 51.34 kB / 461 MB, free: 2.781 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1313, allocations: 4 kB / 461 MB, free: 2.777 MB / 318.1 MB Notification: Performance of Templates: time 0.01427/0.1456, allocations: 9.868 MB / 470.9 MB, free: 8.945 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEVAngle -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.pipe 2>&1)