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.04149/0.04149, allocations: 8.014 MB / 24.16 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.000918/0.000918, allocations: 111.8 kB / 26.73 MB, free: 3.277 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.001057/0.001057, allocations: 186.8 kB / 29.41 MB, free: 0.6055 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.312/1.312, allocations: 222.9 MB / 254.9 MB, free: 4.801 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.127 MB / 309.9 MB, free: 2.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 93.19 kB / 377 MB, free: 53.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07601/0.07765, allocations: 51.98 MB / 429 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVAngle): time 0.003577/0.08127, allocations: 3.311 MB / 432.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.08385, allocations: 2.383 MB / 434.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.08406, allocations: 8 kB / 434.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.08442, allocations: 119 kB / 434.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.0848, allocations: 170.8 kB / 435 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.08558, allocations: 0.4912 MB / 435.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.086, allocations: 0.69 MB / 436.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.08621, allocations: 153.5 kB / 436.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.08642, allocations: 271 kB / 436.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.08674, allocations: 294.7 kB / 436.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/0.08681, allocations: 56 kB / 436.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.08705, allocations: 191.9 kB / 437.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.08716, allocations: 143.5 kB / 437.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.08731, allocations: 258.7 kB / 437.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.08783, allocations: 0.7321 MB / 438.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.08784, allocations: 0 / 438.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.08785, allocations: 0 / 438.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.08786, allocations: 0 / 438.2 MB, free: 11.26 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.001146/0.08901, allocations: 0.8664 MB / 439.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.08905, allocations: 12.03 kB / 439.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.08921, allocations: 60.28 kB / 439.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.08966, allocations: 412.7 kB / 439.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.08972, allocations: 59.25 kB / 439.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.08979, allocations: 51.83 kB / 439.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.0905, allocations: 486.3 kB / 440.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.09053, allocations: 7.984 kB / 440.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.09057, allocations: 20 kB / 440.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.09058, allocations: 8 kB / 440.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.09127, allocations: 363.7 kB / 440.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.09304, allocations: 1.424 MB / 442 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.09388, allocations: 391.8 kB / 442.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.09419, allocations: 160.8 kB / 442.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.09425, allocations: 15.86 kB / 442.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.09473, allocations: 251.7 kB / 442.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.09474, allocations: 0 / 442.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003471/0.09822, allocations: 1.837 MB / 444.6 MB, free: 4.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.09827, allocations: 187.9 kB / 444.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.09858, allocations: 373.7 kB / 445.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.09862, allocations: 37.7 kB / 445.2 MB, free: 3.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.09872, allocations: 228.4 kB / 445.4 MB, free: 3.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.0988, allocations: 146 kB / 445.5 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.09893, allocations: 86.23 kB / 445.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.09899, allocations: 358.8 kB / 446 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.09936, allocations: 200.4 kB / 446.2 MB, free: 2.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.09976, allocations: 293.9 kB / 446.5 MB, free: 2.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.1015, allocations: 0.7325 MB / 447.2 MB, free: 1.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1015, allocations: 7.938 kB / 447.2 MB, free: 1.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001172/0.1027, allocations: 0.6017 MB / 447.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1027, allocations: 4 kB / 447.8 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1027, allocations: 4 kB / 447.8 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.1031, allocations: 164.8 kB / 448 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.1034, allocations: 95.81 kB / 448.1 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004981/0.1039, allocations: 0.7085 MB / 448.8 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.1043, allocations: 55.92 kB / 448.8 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.1044, allocations: 20 kB / 448.8 MB, free: 92 kB / 302.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.0004744/0.1048, allocations: 295.1 kB / 449.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003588/0.1052, allocations: 253.9 kB / 449.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001531/0.1067, allocations: 0.6349 MB / 450 MB, free: 14.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.1068, allocations: 0 / 450 MB, free: 14.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001122/0.1079, allocations: 0.543 MB / 450.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.1079, allocations: 4 kB / 450.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1079, allocations: 4 kB / 450.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.1083, allocations: 168.8 kB / 450.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.1086, allocations: 79.89 kB / 450.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006244/0.1092, allocations: 0.7111 MB / 451.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.1096, allocations: 51.95 kB / 451.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.1097, allocations: 20 kB / 451.6 MB, free: 13.23 MB / 318.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.0001944/0.1099, allocations: 221.9 kB / 451.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.11, allocations: 47.44 kB / 451.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.1114, allocations: 0.5913 MB / 452.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1114, allocations: 0 / 452.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1114, allocations: 3.938 kB / 452.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.1116, allocations: 152.6 kB / 452.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.1117, allocations: 20 kB / 452.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.112, allocations: 47.94 kB / 452.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.1122, allocations: 55.66 kB / 452.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001573/0.1138, allocations: 0.6381 MB / 453.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001414/0.1152, allocations: 0.847 MB / 454.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004017/0.1156, allocations: 200 kB / 454.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002922/0.1159, allocations: 267.2 kB / 454.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Backend: time 6.71e-07/0.1159, allocations: 0 / 454.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003496/0.1194, allocations: 1.34 MB / 456 MB, free: 9.121 MB / 318.1 MB Notification: Performance of SimCode: time 0.001902/0.1213, allocations: 1.516 MB / 457.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of Templates: time 0.01698/0.1383, allocations: 11.11 MB / 468.6 MB, free: 12.5 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)