Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.conf.json 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 191.2 kB / 16.67 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1576/0.1576, allocations: 8.025 MB / 298.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 59.89 kB / 413.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2675, allocations: 51.19 MB / 464.2 MB, free: 18.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.006072/0.2736, allocations: 4.295 MB / 468.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2763, allocations: 1.457 MB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.2766, allocations: 16.19 kB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.277, allocations: 158 kB / 470.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.2775, allocations: 214.2 kB / 470.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007597/0.2783, allocations: 392 kB / 470.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008895/0.2792, allocations: 0.9018 MB / 471.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006338/0.2799, allocations: 473.4 kB / 472.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.2802, allocations: 346.6 kB / 472.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.2806, allocations: 387.4 kB / 472.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2808, allocations: 99.72 kB / 472.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.281, allocations: 124.3 kB / 473.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.2812, allocations: 217.8 kB / 473.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.2815, allocations: 428.2 kB / 473.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.2827, allocations: 1.085 MB / 474.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2827, allocations: 4 kB / 474.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2827, allocations: 0 / 474.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.2827, allocations: 5.438 kB / 474.8 MB, free: 11.68 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001701/0.2844, allocations: 1.167 MB / 476 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2845, allocations: 9.047 kB / 476 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2846, allocations: 88.42 kB / 476 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.2853, allocations: 0.515 MB / 476.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.2853, allocations: 60.03 kB / 476.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.2854, allocations: 68.23 kB / 476.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.2866, allocations: 0.7098 MB / 477.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.2867, allocations: 5.938 kB / 477.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.2867, allocations: 31.38 kB / 477.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.2867, allocations: 16.34 kB / 477.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2878, allocations: 0.5015 MB / 478 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.2908, allocations: 2.544 MB / 480.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.2917, allocations: 446.9 kB / 480.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.292, allocations: 176.6 kB / 481.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.2921, allocations: 3.344 kB / 481.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.2926, allocations: 266.8 kB / 481.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.2926, allocations: 96 / 481.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001454/0.294, allocations: 0.7148 MB / 482.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.2941, allocations: 143.2 kB / 482.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.2947, allocations: 0.5683 MB / 482.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.2947, allocations: 34.45 kB / 482.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.2949, allocations: 358.9 kB / 483.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.2949, allocations: 121.5 kB / 483.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2951, allocations: 78.09 kB / 483.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.2952, allocations: 369 kB / 483.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.2955, allocations: 158.5 kB / 483.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.296, allocations: 258.8 kB / 484.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.2968, allocations: 0.5535 MB / 484.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2968, allocations: 1.062 kB / 484.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001069/0.2979, allocations: 0.6109 MB / 485.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.2979, allocations: 92.81 kB / 485.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2979, allocations: 3.625 kB / 485.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.2981, allocations: 26.25 kB / 485.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.2984, allocations: 79.55 kB / 485.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007339/0.2992, allocations: 1.393 MB / 486.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.2996, allocations: 81.45 kB / 487 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.2997, allocations: 18.62 kB / 487 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005278/0.3002, allocations: 323.8 kB / 487.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003883/0.3006, allocations: 246.5 kB / 487.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006904/0.3013, allocations: 0.5261 MB / 488.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.3013, allocations: 1.375 kB / 488.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009678/0.3023, allocations: 0.5806 MB / 488.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.3023, allocations: 86.64 kB / 488.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3023, allocations: 7.734 kB / 488.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.56e-05/0.3024, allocations: 26 kB / 488.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.3027, allocations: 84.95 kB / 488.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006115/0.3033, allocations: 1.397 MB / 490.3 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.3038, allocations: 62.45 kB / 490.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.3038, allocations: 17.03 kB / 490.3 MB, free: 15.97 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.304, allocations: 268.8 kB / 490.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.3041, allocations: 54.45 kB / 490.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.3052, allocations: 0.5088 MB / 491.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3052, allocations: 8.125 kB / 491.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3052, allocations: 0 / 491.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3053, allocations: 5.359 kB / 491.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.307, allocations: 1.184 MB / 492.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.307, allocations: 4 kB / 492.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.3074, allocations: 59.73 kB / 492.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-05/0.3074, allocations: 22.59 kB / 492.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.3075, allocations: 12.62 kB / 492.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009252/0.3084, allocations: 1.392 MB / 493.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3084, allocations: 0 / 493.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.3099, allocations: 0.7891 MB / 494.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3101, allocations: 138.8 kB / 494.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.3102, allocations: 15.7 kB / 494.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.3105, allocations: 41.02 kB / 494.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3107, allocations: 29.59 kB / 494.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.3107, allocations: 20.86 kB / 494.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005231/0.3112, allocations: 414.8 kB / 495.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3112, allocations: 0 / 495.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008808/0.3121, allocations: 292.2 kB / 495.6 MB, free: 11.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008359/0.313, allocations: 367 kB / 495.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.3149, allocations: 1.192 MB / 497.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.315, allocations: 1.25 kB / 497.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.3156, allocations: 431.6 kB / 497.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.3161, allocations: 90.72 kB / 497.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3181, allocations: 1.253 MB / 498.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.3187, allocations: 0.8978 MB / 499.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.3189, allocations: 67.36 kB / 499.8 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.319, allocations: 39.42 kB / 499.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.319, allocations: 0 / 499.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01279/0.3318, allocations: 7.305 MB / 0.4953 GB, free: 1.316 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)