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.04346/0.04346, allocations: 8.352 MB / 24.66 MB, free: 160 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.0009926/0.0009927, allocations: 105.7 kB / 27.32 MB, free: 2.773 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.001613/0.001613, allocations: 186.5 kB / 30.09 MB, free: 16 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.311/1.311, allocations: 222.9 MB / 255.6 MB, free: 4.293 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0129/0.0129, allocations: 3.122 MB / 310.7 MB, free: 276 kB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 91.84 kB / 431.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.09022, allocations: 52.03 MB / 483.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVAngle): time 0.004615/0.09487, allocations: 3.324 MB / 486.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003984/0.09888, allocations: 2.391 MB / 488.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.09924, allocations: 11.94 kB / 488.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.09967, allocations: 107.1 kB / 489 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.1003, allocations: 174.8 kB / 489.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1014, allocations: 0.5018 MB / 489.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.1023, allocations: 0.6899 MB / 490.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.1026, allocations: 165.4 kB / 490.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.103, allocations: 279 kB / 490.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.1036, allocations: 290.7 kB / 491.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.1037, allocations: 56 kB / 491.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000364/0.104, allocations: 191.9 kB / 491.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.1042, allocations: 135.6 kB / 491.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.1045, allocations: 278.5 kB / 491.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009142/0.1054, allocations: 0.7394 MB / 492.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1054, allocations: 0 / 492.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1054, allocations: 0 / 492.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.1055, allocations: 0 / 492.5 MB, free: 0.6562 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.001578/0.107, allocations: 0.8889 MB / 493.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1071, allocations: 8.031 kB / 493.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1073, allocations: 56.61 kB / 493.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.1079, allocations: 436.9 kB / 493.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.108, allocations: 63.23 kB / 493.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.1081, allocations: 39.94 kB / 494 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.109, allocations: 494.3 kB / 494.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.109, allocations: 4 kB / 494.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.1091, allocations: 12 kB / 494.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1091, allocations: 12 kB / 494.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/0.1099, allocations: 359.7 kB / 494.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1121, allocations: 1.413 MB / 496.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009759/0.1131, allocations: 392.6 kB / 496.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.1135, allocations: 168.8 kB / 496.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.1136, allocations: 7.984 kB / 496.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.1141, allocations: 255.6 kB / 497 MB, free: 11.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/0.1141, allocations: 0 / 497 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.004235/0.1184, allocations: 1.845 MB / 498.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.1185, allocations: 187.9 kB / 499.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.1189, allocations: 373.7 kB / 499.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.1189, allocations: 37.7 kB / 499.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1191, allocations: 228.8 kB / 499.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1192, allocations: 158.7 kB / 499.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1194, allocations: 94.19 kB / 499.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1195, allocations: 350.8 kB / 0.4886 GB, free: 8.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.12, allocations: 200.9 kB / 0.4887 GB, free: 8.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.1205, allocations: 286 kB / 0.489 GB, free: 7.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.1225, allocations: 0.7365 MB / 0.4897 GB, free: 7.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1225, allocations: 7.938 kB / 0.4897 GB, free: 7.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001417/0.1239, allocations: 0.6135 MB / 0.4903 GB, free: 6.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1239, allocations: 8 kB / 0.4904 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.124, allocations: 0 / 0.4904 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.1244, allocations: 160.9 kB / 0.4905 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.1247, allocations: 91.88 kB / 0.4906 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006569/0.1254, allocations: 0.7163 MB / 0.4913 GB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.1259, allocations: 51.94 kB / 0.4913 GB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.1259, allocations: 19.94 kB / 0.4914 GB, free: 5.449 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.0004558/0.1264, allocations: 298 kB / 0.4916 GB, free: 5.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003558/0.1268, allocations: 257.9 kB / 0.4919 GB, free: 4.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001549/0.1283, allocations: 0.6351 MB / 0.4925 GB, free: 4.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.527e-06/0.1283, allocations: 4 kB / 0.4925 GB, free: 4.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001112/0.1295, allocations: 0.5432 MB / 0.493 GB, free: 3.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1295, allocations: 8 kB / 0.4931 GB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.1295, allocations: 0 / 0.4931 GB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.1299, allocations: 163.4 kB / 0.4932 GB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1302, allocations: 79.83 kB / 0.4933 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006157/0.1308, allocations: 0.7047 MB / 0.494 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.1312, allocations: 52.05 kB / 0.494 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.1312, allocations: 19.98 kB / 0.494 GB, free: 2.594 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.0001831/0.1314, allocations: 229 kB / 0.4943 GB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.1315, allocations: 47.67 kB / 0.4943 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.133, allocations: 0.5873 MB / 0.4949 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.133, allocations: 0 / 0.4949 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.133, allocations: 0 / 0.4949 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.1332, allocations: 164.8 kB / 0.495 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.1332, allocations: 12 kB / 0.495 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.1336, allocations: 51.94 kB / 0.4951 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.1338, allocations: 63.64 kB / 0.4952 GB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001628/0.1354, allocations: 0.6264 MB / 0.4958 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001496/0.1369, allocations: 0.8435 MB / 0.4966 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004117/0.1373, allocations: 196 kB / 0.4968 GB, free: 15.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.1376, allocations: 271.2 kB / 0.497 GB, free: 15.46 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.1376, allocations: 0 / 0.497 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.141, allocations: 1.356 MB / 0.4984 GB, free: 14.47 MB / 382.1 MB Notification: Performance of SimCode: time 0.001739/0.1427, allocations: 1.509 MB / 0.4998 GB, free: 12.92 MB / 382.1 MB Notification: Performance of Templates: time 0.01715/0.1599, allocations: 11.23 MB / 0.5108 GB, free: 1.727 MB / 382.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)