Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.FirstEVAngle") translateModel(EHPTexamples.EV.FirstEVAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.07047/0.07047, allocations: 8.024 MB / 23.01 MB, free: 0.5859 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.0006776/0.0006777, allocations: 95.03 kB / 25.57 MB, free: 3.684 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.000942/0.0009421, allocations: 188 kB / 28.23 MB, free: 1.02 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.433/1.433, 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.0121/0.0121, allocations: 3.117 MB / 310 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004444, allocations: 9.5 kB / 377.5 MB, free: 53.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 52.99 MB / 430.4 MB, free: 17.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVAngle): time 0.002965/0.1064, allocations: 2.828 MB / 433.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.1091, allocations: 2.222 MB / 435.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.1094, allocations: 7.938 kB / 435.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.1097, allocations: 99.44 kB / 435.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.11, allocations: 131.2 kB / 435.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.1108, allocations: 395.5 kB / 436.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.1113, allocations: 0.5963 MB / 436.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1115, allocations: 132.1 kB / 436.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1117, allocations: 223 kB / 437.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.112, allocations: 242.9 kB / 437.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.112, allocations: 24 kB / 437.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.1123, allocations: 143.9 kB / 437.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.1124, allocations: 95.64 kB / 437.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.1125, allocations: 109.4 kB / 437.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.1129, allocations: 0.5341 MB / 438.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1129, allocations: 0 / 438.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1129, allocations: 0 / 438.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1129, allocations: 4 kB / 438.2 MB, free: 9.938 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.001142/0.1141, allocations: 0.7963 MB / 439 MB, free: 9.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1141, allocations: 12.03 kB / 439 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.1143, allocations: 55.34 kB / 439.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.1147, allocations: 411.5 kB / 439.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-05/0.1148, allocations: 54.7 kB / 439.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.1149, allocations: 47.92 kB / 439.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.1156, allocations: 0.4906 MB / 440.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1156, allocations: 11.86 kB / 440.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.1157, allocations: 16 kB / 440.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1157, allocations: 8 kB / 440.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006602/0.1163, allocations: 383.7 kB / 440.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.1181, allocations: 1.448 MB / 441.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.1189, allocations: 425.8 kB / 442.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1192, allocations: 176.8 kB / 442.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.1193, allocations: 11.98 kB / 442.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/0.1198, allocations: 255.7 kB / 442.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.863e-06/0.1198, allocations: 0 / 442.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003497/0.1233, allocations: 1.942 MB / 444.7 MB, free: 3.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1233, allocations: 187.9 kB / 444.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.1237, allocations: 381.5 kB / 445.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.1237, allocations: 37.7 kB / 445.3 MB, free: 2.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1239, allocations: 224.5 kB / 445.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.258e-05/0.1239, allocations: 153.8 kB / 445.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.124, allocations: 8 kB / 445.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.124, allocations: 354.8 kB / 446 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.1244, allocations: 197.9 kB / 446.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.1248, allocations: 297.9 kB / 446.5 MB, free: 1.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.1251, allocations: 181.6 kB / 446.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1252, allocations: 0 / 446.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001133/0.1263, allocations: 0.6288 MB / 447.3 MB, free: 360 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.1264, allocations: 152.3 kB / 447.5 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1264, allocations: 0 / 447.5 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.1268, allocations: 168.7 kB / 447.6 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.1272, allocations: 107.9 kB / 447.7 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000635/0.1278, allocations: 0.698 MB / 448.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.1282, allocations: 76 kB / 448.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.1283, allocations: 23.98 kB / 448.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.1283, allocations: 4 kB / 448.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.1293, allocations: 486.8 kB / 449 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1293, allocations: 4 kB / 449 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.1297, allocations: 165.4 kB / 449.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.13, allocations: 75.91 kB / 449.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006055/0.1306, allocations: 0.7121 MB / 450 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.1309, allocations: 60.02 kB / 450 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.131, allocations: 15.98 kB / 450 MB, free: 13.55 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.0003322/0.1313, allocations: 269.4 kB / 450.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.1314, allocations: 47.44 kB / 450.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.1328, allocations: 0.6148 MB / 451 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1328, allocations: 4 kB / 451 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1328, allocations: 4 kB / 451 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1329, allocations: 7.922 kB / 451 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.1352, allocations: 1.337 MB / 452.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.1353, allocations: 4 kB / 452.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.1356, allocations: 83.91 kB / 452.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003369/0.1359, allocations: 144.8 kB / 452.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.136, allocations: 15.98 kB / 452.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005604/0.1366, allocations: 0.6733 MB / 453.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1366, allocations: 0 / 453.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.1382, allocations: 0.8864 MB / 454.1 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1384, allocations: 172.5 kB / 454.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.1385, allocations: 19.95 kB / 454.3 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.1388, allocations: 55.95 kB / 454.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.139, allocations: 63.88 kB / 454.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.139, allocations: 19.98 kB / 454.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002948/0.1393, allocations: 267.2 kB / 454.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1393, allocations: 0 / 454.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00072/0.14, allocations: 196 kB / 454.9 MB, free: 8.527 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.001779/0.1418, allocations: 0.7237 MB / 455.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1435, allocations: 0.7079 MB / 456.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1435, allocations: 7.938 kB / 456.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.1442, allocations: 268.5 kB / 456.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.1448, allocations: 93.42 kB / 456.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.1469, allocations: 1.269 MB / 457.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.1473, allocations: 0.8317 MB / 458.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.1476, allocations: 71.36 kB / 458.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.1477, allocations: 43.42 kB / 458.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1477, allocations: 0 / 458.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of Templates: time 0.01721/0.165, allocations: 9.6 MB / 468.5 MB, free: 11.2 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEVAngle.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEVAngle.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEVAngle.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEVAngle.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEVAngle.sim & ./EHPTexamples_EHPTexamples.EV.FirstEVAngle -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEVAngle.pipe 2>&1)