Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 192.2 kB / 16.14 MB, free: 6.707 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1539/0.1539, allocations: 8.022 MB / 298 MB, free: 2.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.88 kB / 359.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09758, allocations: 51.19 MB / 411.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005395/0.103, allocations: 4.126 MB / 415.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1051, allocations: 1.407 MB / 416.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.1054, allocations: 12 kB / 416.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.1058, allocations: 115.3 kB / 416.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.1062, allocations: 159 kB / 417 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.1068, allocations: 351.1 kB / 417.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.1075, allocations: 0.7592 MB / 418.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.1081, allocations: 394.4 kB / 418.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.1084, allocations: 274.8 kB / 418.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.1087, allocations: 326.5 kB / 419 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.1088, allocations: 48 kB / 419.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1089, allocations: 83.97 kB / 419.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1091, allocations: 159.4 kB / 419.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.1094, allocations: 350.1 kB / 419.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007429/0.1101, allocations: 0.9619 MB / 420.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1102, allocations: 0 / 420.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1102, allocations: 0 / 420.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1102, allocations: 0 / 420.6 MB, free: 2.059 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001651/0.1118, allocations: 1.102 MB / 421.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1119, allocations: 8.031 kB / 421.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.112, allocations: 80 kB / 421.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.1126, allocations: 0.5011 MB / 422.3 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.1126, allocations: 53.31 kB / 422.4 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.1127, allocations: 60 kB / 422.4 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1737/0.2864, allocations: 0.6455 MB / 423.1 MB, free: 44.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.2865, allocations: 2.812 kB / 423.1 MB, free: 44.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.2866, allocations: 27.28 kB / 423.1 MB, free: 44.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2866, allocations: 15 kB / 423.1 MB, free: 44.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.2875, allocations: 477.6 kB / 423.6 MB, free: 44.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.2906, allocations: 2.517 MB / 426.1 MB, free: 43.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008063/0.2914, allocations: 416.2 kB / 426.5 MB, free: 43.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.2917, allocations: 170.1 kB / 426.7 MB, free: 43.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.2918, allocations: 7.453 kB / 426.7 MB, free: 43.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005716/0.2924, allocations: 251.5 kB / 426.9 MB, free: 43.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.2924, allocations: 3.219 kB / 426.9 MB, free: 43.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001402/0.2938, allocations: 0.6843 MB / 427.6 MB, free: 42.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.2938, allocations: 138.2 kB / 427.7 MB, free: 42.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.2944, allocations: 0.5471 MB / 428.3 MB, free: 42.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.2944, allocations: 36.86 kB / 428.3 MB, free: 42.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.2946, allocations: 344.8 kB / 428.7 MB, free: 42.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.2947, allocations: 101.2 kB / 428.8 MB, free: 42.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2948, allocations: 71.94 kB / 428.8 MB, free: 41.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.2949, allocations: 367.2 kB / 429.2 MB, free: 41.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.2953, allocations: 164.1 kB / 429.3 MB, free: 41.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.2957, allocations: 252.7 kB / 429.6 MB, free: 41.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007488/0.2964, allocations: 0.5275 MB / 430.1 MB, free: 41.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2964, allocations: 2.625 kB / 430.1 MB, free: 41.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009569/0.2974, allocations: 0.5928 MB / 430.7 MB, free: 40.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.2975, allocations: 90.7 kB / 430.8 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2975, allocations: 7.094 kB / 430.8 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.2976, allocations: 27.28 kB / 430.8 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.2979, allocations: 87.2 kB / 430.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006725/0.2986, allocations: 1.283 MB / 432.2 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.299, allocations: 79.97 kB / 432.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.2991, allocations: 16.72 kB / 432.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004573/0.2995, allocations: 313.1 kB / 432.6 MB, free: 39.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003324/0.2999, allocations: 250.6 kB / 432.8 MB, free: 38.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006613/0.3005, allocations: 0.5152 MB / 433.4 MB, free: 38.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/0.3005, allocations: 0.8594 kB / 433.4 MB, free: 38.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008516/0.3014, allocations: 0.5621 MB / 433.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3014, allocations: 91.27 kB / 434 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3014, allocations: 3.281 kB / 434 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.848e-05/0.3015, allocations: 29.39 kB / 434 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.3018, allocations: 76.77 kB / 434.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005384/0.3023, allocations: 1.281 MB / 435.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.3027, allocations: 68.59 kB / 435.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.3027, allocations: 16.97 kB / 435.5 MB, free: 36.85 MB / 350.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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.0001288/0.3029, allocations: 269.3 kB / 435.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.3029, allocations: 47.91 kB / 435.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008986/0.3038, allocations: 0.4906 MB / 436.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3039, allocations: 3.125 kB / 436.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3039, allocations: 4.812 kB / 436.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3039, allocations: 3.234 kB / 436.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.3052, allocations: 1.131 MB / 437.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3052, allocations: 0 / 437.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.3055, allocations: 62.94 kB / 437.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-05/0.3056, allocations: 18.11 kB / 437.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.3056, allocations: 10.94 kB / 437.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005318/0.3062, allocations: 1.274 MB / 438.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3062, allocations: 160 / 438.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3074, allocations: 0.7789 MB / 439.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.3075, allocations: 131.9 kB / 439.7 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.115e-05/0.3076, allocations: 11.28 kB / 439.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.3079, allocations: 41.02 kB / 439.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.308, allocations: 31.42 kB / 439.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.308, allocations: 17.14 kB / 439.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003676/0.3084, allocations: 408 kB / 440.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.02e-07/0.3084, allocations: 0 / 440.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006767/0.3091, allocations: 277 kB / 440.5 MB, free: 33.5 MB / 350.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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * 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.0007693/0.3099, allocations: 361.3 kB / 440.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3114, allocations: 1.155 MB / 442 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3115, allocations: 0 / 442 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.312, allocations: 432.2 kB / 442.4 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.3125, allocations: 89.36 kB / 442.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3141, allocations: 1.437 MB / 443.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3144, allocations: 0.8981 MB / 444.8 MB, free: 30.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.3146, allocations: 60.17 kB / 444.9 MB, free: 30.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.3147, allocations: 30 kB / 444.9 MB, free: 30.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3147, allocations: 3.344 kB / 444.9 MB, free: 30.61 MB / 350.1 MB Notification: Performance of Templates: time 0.009341/0.324, allocations: 6.488 MB / 451.4 MB, free: 30.05 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)