Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.FirstEVAngle") translateModel(EHPTexamples.EV.FirstEVAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06141/0.06141, allocations: 8.032 MB / 23 MB, free: 0.5664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00065/0.00065, allocations: 91.14 kB / 25.56 MB, free: 3.793 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.0009169/0.0009169, allocations: 186.1 kB / 28.22 MB, free: 1.133 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.408/1.408, allocations: 223.3 MB / 254 MB, free: 4.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01304/0.01304, allocations: 3.116 MB / 310 MB, free: 0.6836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004537, allocations: 15.34 kB / 377.5 MB, free: 54.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09038, allocations: 52.99 MB / 430.4 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVAngle): time 0.00285/0.09327, allocations: 2.828 MB / 433.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.09604, allocations: 2.227 MB / 435.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.09632, allocations: 15.88 kB / 435.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.09669, allocations: 87.45 kB / 435.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.09701, allocations: 143.1 kB / 435.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.09781, allocations: 379.8 kB / 436.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.09827, allocations: 0.5963 MB / 436.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.09848, allocations: 124.1 kB / 436.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.0987, allocations: 227 kB / 437.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.09899, allocations: 238.9 kB / 437.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.09905, allocations: 24 kB / 437.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.0993, allocations: 147.9 kB / 437.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.0994, allocations: 99.58 kB / 437.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.09948, allocations: 109.4 kB / 437.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.09989, allocations: 0.5419 MB / 438.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.09991, allocations: 0 / 438.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09992, allocations: 0 / 438.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.09993, allocations: 0 / 438.2 MB, free: 10.12 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.001239/0.1012, allocations: 0.7964 MB / 439 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1012, allocations: 8.031 kB / 439 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.1014, allocations: 55.34 kB / 439.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.102, allocations: 415.5 kB / 439.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.102, allocations: 54.7 kB / 439.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.1021, allocations: 40 kB / 439.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.1029, allocations: 0.4983 MB / 440.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.103, allocations: 11.84 kB / 440.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.103, allocations: 16 kB / 440.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.103, allocations: 8 kB / 440.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.1037, allocations: 379.8 kB / 440.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1056, allocations: 1.444 MB / 441.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/0.1064, allocations: 429.8 kB / 442.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.1068, allocations: 180.8 kB / 442.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.1068, allocations: 11.98 kB / 442.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.1073, allocations: 263.7 kB / 442.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.935e-06/0.1073, allocations: 4 kB / 442.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.00356/0.1109, allocations: 1.93 MB / 444.7 MB, free: 3.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1109, allocations: 195.9 kB / 444.9 MB, free: 3.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1113, allocations: 373.5 kB / 445.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.1113, allocations: 37.7 kB / 445.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1114, allocations: 228.5 kB / 445.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.1115, allocations: 141.9 kB / 445.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.1115, allocations: 12 kB / 445.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.1116, allocations: 350.8 kB / 446 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.112, allocations: 205.8 kB / 446.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.1124, allocations: 305.9 kB / 446.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.1127, allocations: 177.6 kB / 446.7 MB, free: 1.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1127, allocations: 3.938 kB / 446.7 MB, free: 1.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001147/0.1138, allocations: 0.6212 MB / 447.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/0.1139, allocations: 149.8 kB / 447.5 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1139, allocations: 4.047 kB / 447.5 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003783/0.1143, allocations: 166.1 kB / 447.6 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.1147, allocations: 103.8 kB / 447.7 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006793/0.1154, allocations: 0.7046 MB / 448.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.1158, allocations: 76 kB / 448.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.1159, allocations: 20 kB / 448.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.1159, allocations: 4 kB / 448.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/0.1169, allocations: 490.7 kB / 449 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1169, allocations: 0 / 449 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.1173, allocations: 169.6 kB / 449.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.1176, allocations: 71.91 kB / 449.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006732/0.1183, allocations: 0.7079 MB / 449.9 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.1187, allocations: 64 kB / 450 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.1187, allocations: 20 kB / 450 MB, free: 13.73 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: dragF.altimetry:VARIABLE(unit = "m" fixed = true ) type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" 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 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,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003834/0.1191, allocations: 272.3 kB / 450.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.1192, allocations: 43.44 kB / 450.3 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.1206, allocations: 0.6069 MB / 450.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.1207, allocations: 7.984 kB / 451 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1207, allocations: 0 / 451 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1207, allocations: 0 / 451 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.1233, allocations: 1.348 MB / 452.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.1233, allocations: 3.984 kB / 452.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.1236, allocations: 91.94 kB / 452.4 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.124, allocations: 148.7 kB / 452.5 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.1241, allocations: 15.98 kB / 452.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006517/0.1247, allocations: 0.6694 MB / 453.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.1248, allocations: 7.969 kB / 453.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1266, allocations: 0.8825 MB / 454.1 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.1269, allocations: 164.5 kB / 454.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.127, allocations: 23.95 kB / 454.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.1274, allocations: 59.95 kB / 454.4 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.1276, allocations: 63.86 kB / 454.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.1277, allocations: 19.98 kB / 454.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003977/0.1281, allocations: 263.2 kB / 454.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1281, allocations: 0 / 454.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009087/0.129, allocations: 196 kB / 454.9 MB, free: 8.711 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.1308, allocations: 0.714 MB / 455.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.1325, allocations: 0.7156 MB / 456.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.1326, allocations: 0 / 456.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.1332, allocations: 272.5 kB / 456.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.1339, allocations: 97.41 kB / 456.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.136, allocations: 1.265 MB / 457.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.1365, allocations: 0.8356 MB / 458.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.1368, allocations: 63.38 kB / 458.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.137, allocations: 47.41 kB / 458.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.137, allocations: 4 kB / 458.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of Templates: time 0.01596/0.1529, allocations: 9.611 MB / 468.5 MB, free: 11.37 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEVAngle.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEVAngle.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEVAngle.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEVAngle.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEVAngle.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEVAngle -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEVAngle.pipe 2>&1)