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.001062/0.001061, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001067/0.001067, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1482/0.1482, allocations: 8.031 MB / 298.1 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 55.91 kB / 360.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09472, allocations: 51.19 MB / 411.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005164/0.09991, allocations: 4.311 MB / 415.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1023, allocations: 1.43 MB / 417.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.1026, allocations: 12 kB / 417.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.1031, allocations: 123.3 kB / 417.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.1036, allocations: 178.9 kB / 417.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.1043, allocations: 351.1 kB / 417.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.105, allocations: 0.8923 MB / 418.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.1055, allocations: 484 kB / 419.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.1058, allocations: 338.9 kB / 419.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.1062, allocations: 382.3 kB / 419.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.1063, allocations: 104 kB / 419.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1065, allocations: 124 kB / 420 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.1067, allocations: 215.4 kB / 420.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.107, allocations: 426 kB / 420.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.1079, allocations: 1.067 MB / 421.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1079, allocations: 4 kB / 421.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1079, allocations: 0 / 421.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1079, allocations: 0 / 421.7 MB, free: 0.957 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.1748/0.2827, allocations: 1.139 MB / 422.8 MB, free: 44.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2828, allocations: 10.25 kB / 422.8 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2829, allocations: 88.22 kB / 422.9 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.2835, allocations: 0.5026 MB / 423.4 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.2835, allocations: 55.09 kB / 423.5 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.2836, allocations: 74.64 kB / 423.6 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2848, allocations: 0.701 MB / 424.3 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.2849, allocations: 4.594 kB / 424.3 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.285, allocations: 34.59 kB / 424.3 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.285, allocations: 18.88 kB / 424.3 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.286, allocations: 0.4981 MB / 424.8 MB, free: 43.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.289, allocations: 2.562 MB / 427.4 MB, free: 42.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.2898, allocations: 433.3 kB / 427.8 MB, free: 42.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.2902, allocations: 182.8 kB / 428 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.2902, allocations: 4 kB / 428 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005568/0.2908, allocations: 266.4 kB / 428.2 MB, free: 42.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.2908, allocations: 0 / 428.2 MB, free: 42.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001414/0.2922, allocations: 0.7119 MB / 428.9 MB, free: 41.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2923, allocations: 142.2 kB / 429.1 MB, free: 41.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.2928, allocations: 0.5721 MB / 429.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2929, allocations: 32.73 kB / 429.7 MB, free: 41.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2931, allocations: 349.3 kB / 430 MB, free: 41.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.2931, allocations: 119.7 kB / 430.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2933, allocations: 79.16 kB / 430.2 MB, free: 41.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.2933, allocations: 364.5 kB / 430.6 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.2937, allocations: 161.2 kB / 430.7 MB, free: 40.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.2941, allocations: 265.5 kB / 431 MB, free: 40.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.2948, allocations: 0.5458 MB / 431.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2949, allocations: 0.9375 kB / 431.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000972/0.2958, allocations: 0.6084 MB / 432.2 MB, free: 39.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.2959, allocations: 89.98 kB / 432.2 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2959, allocations: 4.328 kB / 432.2 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.296, allocations: 29.34 kB / 432.3 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.2964, allocations: 82.42 kB / 432.4 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007241/0.2971, allocations: 1.388 MB / 433.7 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.2975, allocations: 82.7 kB / 433.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.2976, allocations: 20.97 kB / 433.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004705/0.298, allocations: 321.4 kB / 434.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003515/0.2984, allocations: 251 kB / 434.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006705/0.2991, allocations: 0.5311 MB / 434.9 MB, free: 37.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.2991, allocations: 0 / 434.9 MB, free: 37.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009173/0.3, allocations: 0.5738 MB / 435.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.3001, allocations: 91.45 kB / 435.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3001, allocations: 3.438 kB / 435.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.261e-05/0.3002, allocations: 24.61 kB / 435.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.3005, allocations: 87.59 kB / 435.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006279/0.3011, allocations: 1.385 MB / 437.1 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.3015, allocations: 61.14 kB / 437.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.3015, allocations: 21.52 kB / 437.2 MB, free: 35.64 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.0001426/0.3017, allocations: 275.2 kB / 437.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.3018, allocations: 56.36 kB / 437.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009546/0.3027, allocations: 0.5011 MB / 438 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3027, allocations: 3.281 kB / 438 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3027, allocations: 0 / 438 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3028, allocations: 14.19 kB / 438 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3042, allocations: 1.18 MB / 439.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3043, allocations: 0 / 439.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3046, allocations: 60.27 kB / 439.3 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.55e-05/0.3047, allocations: 30.94 kB / 439.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.3047, allocations: 7.031 kB / 439.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007267/0.3054, allocations: 1.393 MB / 440.7 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3054, allocations: 0 / 440.7 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.3068, allocations: 0.7957 MB / 441.5 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.3069, allocations: 131.8 kB / 441.6 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.307, allocations: 9.781 kB / 441.6 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.3073, allocations: 45.83 kB / 441.7 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.3074, allocations: 30.36 kB / 441.7 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.3075, allocations: 22.41 kB / 441.7 MB, free: 32.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003716/0.3079, allocations: 409.8 kB / 442.1 MB, free: 32.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3079, allocations: 0 / 442.1 MB, free: 32.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000724/0.3086, allocations: 285 kB / 442.4 MB, free: 32.15 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.0008069/0.3094, allocations: 369.4 kB / 442.8 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3111, allocations: 1.197 MB / 444 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3111, allocations: 3.5 kB / 444 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.3116, allocations: 443.6 kB / 444.4 MB, free: 30.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.3122, allocations: 96.11 kB / 444.5 MB, free: 30.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.314, allocations: 1.509 MB / 446 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3143, allocations: 0.9007 MB / 446.9 MB, free: 29.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.3145, allocations: 63.77 kB / 447 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/0.3146, allocations: 36.62 kB / 447 MB, free: 29.15 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3146, allocations: 0 / 447 MB, free: 29.15 MB / 350.1 MB Notification: Performance of Templates: time 0.01145/0.3261, allocations: 7.02 MB / 454 MB, free: 28.58 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)