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.06187/0.06187, allocations: 8.027 MB / 23.01 MB, free: 236 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.0008324/0.0008326, allocations: 102.5 kB / 25.57 MB, free: 3.512 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.001077/0.001076, allocations: 203.8 kB / 28.23 MB, free: 0.8984 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.486/1.486, allocations: 223.3 MB / 254 MB, free: 3.965 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01234/0.01234, allocations: 3.12 MB / 310 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006817/0.000682, allocations: 14.81 kB / 377.5 MB, free: 53.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1421, allocations: 52.98 MB / 430.4 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVAngle): time 0.003561/0.1457, allocations: 2.832 MB / 433.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.1492, allocations: 2.226 MB / 435.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.1495, allocations: 7.938 kB / 435.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.1499, allocations: 99.44 kB / 435.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.1503, allocations: 131.2 kB / 435.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.1512, allocations: 384.4 kB / 436.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.1517, allocations: 0.604 MB / 436.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.1519, allocations: 124.1 kB / 436.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.1521, allocations: 227 kB / 437.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.1525, allocations: 239 kB / 437.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.1525, allocations: 20 kB / 437.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.1528, allocations: 155.8 kB / 437.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1529, allocations: 95.58 kB / 437.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.153, allocations: 101.5 kB / 437.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.1535, allocations: 0.5419 MB / 438.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1535, allocations: 0 / 438.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1535, allocations: 0 / 438.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1535, allocations: 0 / 438.2 MB, free: 9.957 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.001254/0.1548, allocations: 0.7964 MB / 439 MB, free: 9.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1548, allocations: 16.02 kB / 439 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.155, allocations: 55.34 kB / 439.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.1555, allocations: 411.5 kB / 439.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.1556, allocations: 58.64 kB / 439.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.1556, allocations: 36 kB / 439.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.1564, allocations: 0.4906 MB / 440 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1564, allocations: 15.86 kB / 440.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1565, allocations: 16 kB / 440.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1565, allocations: 15.88 kB / 440.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006469/0.1571, allocations: 383.7 kB / 440.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.159, allocations: 1.44 MB / 441.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008313/0.1598, allocations: 434.5 kB / 442.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.1601, allocations: 172.8 kB / 442.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.1602, allocations: 11.98 kB / 442.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004885/0.1607, allocations: 263.7 kB / 442.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.914e-06/0.1607, allocations: 0 / 442.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003432/0.1641, allocations: 1.939 MB / 444.7 MB, free: 3.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.1642, allocations: 187.9 kB / 444.9 MB, free: 2.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.1646, allocations: 377.5 kB / 445.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.1646, allocations: 45.69 kB / 445.3 MB, free: 2.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1647, allocations: 216.5 kB / 445.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.1648, allocations: 157.8 kB / 445.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.1648, allocations: 8 kB / 445.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.1649, allocations: 350.8 kB / 446 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.1653, allocations: 205.9 kB / 446.2 MB, free: 1.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.1657, allocations: 297.9 kB / 446.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.166, allocations: 177.6 kB / 446.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.166, allocations: 3.938 kB / 446.7 MB, free: 1 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001113/0.1671, allocations: 0.6212 MB / 447.3 MB, free: 376 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/0.1672, allocations: 149.8 kB / 447.5 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1672, allocations: 4 kB / 447.5 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/0.1676, allocations: 164.7 kB / 447.6 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.168, allocations: 103.8 kB / 447.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006539/0.1686, allocations: 0.7039 MB / 448.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.169, allocations: 80.03 kB / 448.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.1691, allocations: 19.98 kB / 448.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.371e-06/0.1691, allocations: 4 kB / 448.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009673/0.1701, allocations: 486.9 kB / 449 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1701, allocations: 8 kB / 449 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003523/0.1705, allocations: 160.9 kB / 449.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.1707, allocations: 79.89 kB / 449.3 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006143/0.1714, allocations: 0.7085 MB / 450 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.1717, allocations: 60.02 kB / 450 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.1718, allocations: 16 kB / 450 MB, free: 13.56 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.0003759/0.1721, allocations: 265.4 kB / 450.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.1722, allocations: 47.44 kB / 450.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.1736, allocations: 0.6069 MB / 450.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.1736, allocations: 12 kB / 451 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1736, allocations: 0 / 451 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.1736, allocations: 7.922 kB / 451 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.1761, allocations: 1.34 MB / 452.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1762, allocations: 4 kB / 452.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.1765, allocations: 91.94 kB / 452.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/0.1769, allocations: 140.8 kB / 452.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.1769, allocations: 11.98 kB / 452.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005764/0.1775, allocations: 0.6772 MB / 453.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1775, allocations: 0 / 453.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.1791, allocations: 0.8903 MB / 454.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.1793, allocations: 164.5 kB / 454.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.1794, allocations: 19.94 kB / 454.3 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.1797, allocations: 59.95 kB / 454.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.1799, allocations: 67.95 kB / 454.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.1799, allocations: 15.98 kB / 454.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.1802, allocations: 263.2 kB / 454.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1802, allocations: 4 kB / 454.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000746/0.181, allocations: 196 kB / 454.9 MB, free: 8.539 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.001796/0.1828, allocations: 0.7228 MB / 455.6 MB, free: 8.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.1844, allocations: 0.7156 MB / 456.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1844, allocations: 3.938 kB / 456.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.185, allocations: 260.6 kB / 456.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.1857, allocations: 97.41 kB / 456.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1876, allocations: 1.266 MB / 457.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.188, allocations: 0.8356 MB / 458.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002914/0.1883, allocations: 75.34 kB / 458.9 MB, free: 4.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1884, allocations: 39.42 kB / 458.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1885, allocations: 0 / 458.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of Templates: time 0.01551/0.204, allocations: 9.602 MB / 468.5 MB, free: 11.21 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)