Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.0008648/0.0008647, allocations: 90.83 kB / 16.02 MB, free: 80 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.0008213/0.0008212, allocations: 178 kB / 16.92 MB, free: 6.652 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.321/1.321, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1592/0.1592, allocations: 8.025 MB / 300.1 MB, free: 3.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003356, allocations: 8 kB / 363.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09566, allocations: 52.18 MB / 415.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004587/0.1003, allocations: 3.88 MB / 419.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1028, allocations: 1.43 MB / 420.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.1032, allocations: 12 kB / 420.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.1036, allocations: 119.3 kB / 420.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.1041, allocations: 178.9 kB / 420.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.1047, allocations: 355.1 kB / 421.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007287/0.1055, allocations: 0.7986 MB / 422 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.1061, allocations: 427.1 kB / 422.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.1064, allocations: 250.8 kB / 422.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.1067, allocations: 310.3 kB / 423 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.759e-05/0.1068, allocations: 36 kB / 423 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.107, allocations: 60 kB / 423.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.1071, allocations: 147.4 kB / 423.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.1074, allocations: 363.7 kB / 423.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.1081, allocations: 0.8221 MB / 424.4 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1082, allocations: 0 / 424.4 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1082, allocations: 0 / 424.4 MB, free: 468 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1082, allocations: 0 / 424.4 MB, free: 468 kB / 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.1712/0.2794, allocations: 1.013 MB / 425.4 MB, free: 41.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2795, allocations: 8.938 kB / 425.4 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.2797, allocations: 88.06 kB / 425.5 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.2803, allocations: 0.501 MB / 426 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.2803, allocations: 54.25 kB / 426 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2804, allocations: 77.12 kB / 426.1 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.2817, allocations: 0.7236 MB / 426.8 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.2817, allocations: 0 / 426.8 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.2818, allocations: 36.25 kB / 426.9 MB, free: 41.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2818, allocations: 19.03 kB / 426.9 MB, free: 41.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.2829, allocations: 0.5325 MB / 427.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.286, allocations: 2.594 MB / 430 MB, free: 40.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.2869, allocations: 475.1 kB / 430.5 MB, free: 40.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.2874, allocations: 187.3 kB / 430.7 MB, free: 40.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.2874, allocations: 7.062 kB / 430.7 MB, free: 40.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006164/0.288, allocations: 278.2 kB / 430.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.288, allocations: 0 / 430.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001664/0.2897, allocations: 0.7592 MB / 431.7 MB, free: 39.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2898, allocations: 135.5 kB / 431.8 MB, free: 39.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.2904, allocations: 0.5683 MB / 432.4 MB, free: 39.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.2905, allocations: 39.05 kB / 432.4 MB, free: 39.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.2907, allocations: 356.3 kB / 432.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.2908, allocations: 116 kB / 432.9 MB, free: 39.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.2908, allocations: 46.66 kB / 432.9 MB, free: 39.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.2909, allocations: 358.7 kB / 433.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.2914, allocations: 172.9 kB / 433.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.2918, allocations: 275.4 kB / 433.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.2928, allocations: 0.5842 MB / 434.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2928, allocations: 0 / 434.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001086/0.2939, allocations: 0.6439 MB / 435 MB, free: 38.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-05/0.294, allocations: 257.7 kB / 435.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.294, allocations: 3.312 kB / 435.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.2942, allocations: 25.25 kB / 435.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.2945, allocations: 88.78 kB / 435.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007382/0.2953, allocations: 1.299 MB / 436.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.2957, allocations: 90.22 kB / 436.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.2957, allocations: 24.36 kB / 436.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/0.2958, allocations: 3.25 kB / 436.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009354/0.2967, allocations: 0.5555 MB / 437.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2967, allocations: 3.625 kB / 437.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-05/0.2968, allocations: 25.64 kB / 437.3 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.2971, allocations: 83.89 kB / 437.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005812/0.2977, allocations: 1.305 MB / 438.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.2981, allocations: 81.3 kB / 438.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.2981, allocations: 20.28 kB / 438.8 MB, free: 34.73 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 (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.0003106/0.2984, allocations: 357.9 kB / 439.2 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.2985, allocations: 48.91 kB / 439.2 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.2995, allocations: 0.5475 MB / 439.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2996, allocations: 3.188 kB / 439.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.2996, allocations: 3.344 kB / 439.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2996, allocations: 3.516 kB / 439.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.3011, allocations: 1.219 MB / 441 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3012, allocations: 0 / 441 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.3015, allocations: 71.53 kB / 441.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-05/0.3016, allocations: 25.56 kB / 441.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.3016, allocations: 7.094 kB / 441.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005853/0.3022, allocations: 1.29 MB / 442.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.3022, allocations: 10.69 kB / 442.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.3036, allocations: 0.8231 MB / 443.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.3037, allocations: 135.8 kB / 443.3 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.3038, allocations: 19.36 kB / 443.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.3041, allocations: 59.58 kB / 443.4 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3043, allocations: 30.59 kB / 443.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.3043, allocations: 14.44 kB / 443.5 MB, free: 31.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003706/0.3047, allocations: 420.5 kB / 443.9 MB, free: 31.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3047, allocations: 0 / 443.9 MB, free: 31.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.3054, allocations: 283.4 kB / 444.2 MB, free: 31.24 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,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.0008368/0.3062, allocations: 371.1 kB / 444.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.308, allocations: 1.238 MB / 445.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.308, allocations: 0.6875 kB / 445.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.3086, allocations: 459 kB / 446.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.3092, allocations: 81.7 kB / 446.3 MB, free: 29.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3111, allocations: 1.608 MB / 447.9 MB, free: 28.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3114, allocations: 0.9039 MB / 448.8 MB, free: 28.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.3115, allocations: 34.03 kB / 448.8 MB, free: 28.2 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3115, allocations: 0 / 448.8 MB, free: 28.2 MB / 350.1 MB Notification: Performance of Templates: time 0.0118/0.3233, allocations: 10.53 MB / 459.4 MB, free: 27.12 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)