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.04461/0.04461, allocations: 8.035 MB / 24.34 MB, free: 396 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.001014/0.001014, allocations: 111.7 kB / 26.93 MB, free: 3.113 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.001236/0.001236, allocations: 191.3 kB / 29.62 MB, free: 440 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 255.1 MB, free: 4.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01316/0.01316, allocations: 3.125 MB / 310.1 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 99.84 kB / 430.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.0821, allocations: 51.97 MB / 482.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVAngle): time 0.004772/0.08691, allocations: 3.313 MB / 485.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003749/0.09069, allocations: 2.371 MB / 488.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004004/0.09111, allocations: 11.94 kB / 488.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.09163, allocations: 111.1 kB / 488.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006429/0.09232, allocations: 182.7 kB / 488.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.09347, allocations: 0.506 MB / 488.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000862/0.09435, allocations: 0.69 MB / 489.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.09467, allocations: 165.5 kB / 489.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.09508, allocations: 279 kB / 490 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.09557, allocations: 294.7 kB / 490.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.0957, allocations: 56 kB / 490.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.09608, allocations: 191.9 kB / 490.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.09624, allocations: 143.5 kB / 490.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.09649, allocations: 262.6 kB / 490.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.09731, allocations: 0.7321 MB / 491.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.09733, allocations: 4 kB / 491.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09734, allocations: 0 / 491.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.09736, allocations: 0 / 491.6 MB, free: 1.414 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001625/0.09899, allocations: 0.865 MB / 492.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.09903, allocations: 8.031 kB / 492.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.09923, allocations: 60.28 kB / 492.6 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.09993, allocations: 432.6 kB / 493 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.1, allocations: 55.27 kB / 493.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.1001, allocations: 43.84 kB / 493.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009197/0.101, allocations: 494.3 kB / 493.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.101, allocations: 4 kB / 493.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.1011, allocations: 19.98 kB / 493.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1011, allocations: 8 kB / 493.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008135/0.1019, allocations: 371.7 kB / 494 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.1042, allocations: 1.409 MB / 495.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/0.1052, allocations: 392.6 kB / 495.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.1056, allocations: 164.8 kB / 495.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.1056, allocations: 15.91 kB / 495.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.1061, allocations: 247.7 kB / 496.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.1062, allocations: 0 / 496.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00419/0.1104, allocations: 1.84 MB / 498 MB, free: 10.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.1104, allocations: 183.9 kB / 498.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.1109, allocations: 373.7 kB / 498.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.111, allocations: 45.62 kB / 498.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1111, allocations: 220.5 kB / 498.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.1112, allocations: 153.9 kB / 499 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.1114, allocations: 86.23 kB / 499.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1115, allocations: 358.8 kB / 499.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.112, allocations: 200.8 kB / 499.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.1124, allocations: 289.9 kB / 499.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.1144, allocations: 0.7365 MB / 0.4889 GB, free: 7.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1144, allocations: 3.938 kB / 0.4889 GB, free: 7.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001388/0.1158, allocations: 0.6016 MB / 0.4895 GB, free: 7.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1158, allocations: 4 kB / 0.4895 GB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1159, allocations: 7.938 kB / 0.4895 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/0.1163, allocations: 164.9 kB / 0.4897 GB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.1167, allocations: 95.83 kB / 0.4897 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006786/0.1174, allocations: 0.7046 MB / 0.4904 GB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.1178, allocations: 63.91 kB / 0.4905 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.1178, allocations: 16 kB / 0.4905 GB, free: 6.246 MB / 366.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004874/0.1183, allocations: 295.5 kB / 0.4908 GB, free: 5.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003669/0.1187, allocations: 253.9 kB / 0.491 GB, free: 5.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001508/0.1202, allocations: 0.6351 MB / 0.4917 GB, free: 5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.1203, allocations: 0 / 0.4917 GB, free: 5 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001142/0.1214, allocations: 0.5468 MB / 0.4922 GB, free: 4.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1214, allocations: 8 kB / 0.4922 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1214, allocations: 0 / 0.4922 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.1218, allocations: 163.4 kB / 0.4924 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.1221, allocations: 79.89 kB / 0.4924 GB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006369/0.1228, allocations: 0.7124 MB / 0.4931 GB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.1232, allocations: 47.94 kB / 0.4932 GB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.1232, allocations: 20 kB / 0.4932 GB, free: 3.391 MB / 366.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.0002053/0.1234, allocations: 221.1 kB / 0.4934 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.1235, allocations: 43.44 kB / 0.4934 GB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.125, allocations: 0.5874 MB / 0.494 GB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.125, allocations: 3.984 kB / 0.494 GB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.125, allocations: 4 kB / 0.494 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.1252, allocations: 148.6 kB / 0.4942 GB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/0.1253, allocations: 15.98 kB / 0.4942 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.1257, allocations: 59.94 kB / 0.4942 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.1258, allocations: 55.66 kB / 0.4943 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001664/0.1275, allocations: 0.6264 MB / 0.4949 GB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001469/0.129, allocations: 0.847 MB / 0.4957 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004121/0.1294, allocations: 200 kB / 0.4959 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.1297, allocations: 271.1 kB / 0.4962 GB, free: 276 kB / 366.1 MB Notification: Performance of Backend: time 5.31e-07/0.1297, allocations: 3.938 kB / 0.4962 GB, free: 272 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003445/0.1332, allocations: 1.339 MB / 0.4975 GB, free: 15.29 MB / 382.1 MB Notification: Performance of SimCode: time 0.001875/0.1351, allocations: 1.507 MB / 0.499 GB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.01863/0.1537, allocations: 11.24 MB / 0.5099 GB, free: 2.547 MB / 382.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)