Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 105.6 kB / 15.78 MB, free: 5.539 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.001531/0.001531, allocations: 198.7 kB / 16.73 MB, free: 5.41 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.505/1.505, allocations: 225.6 MB / 243.1 MB, free: 3.688 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03922/0.03922, allocations: 8.13 MB / 304.1 MB, free: 3.238 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.89 kB / 424.4 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3399, allocations: 54.06 MB / 478.4 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1): time 0.008093/0.3479, allocations: 4.869 MB / 483.3 MB, free: 20.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.3525, allocations: 1.965 MB / 485.3 MB, free: 19.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.3533, allocations: 17.25 kB / 485.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.354, allocations: 240.2 kB / 485.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007733/0.3547, allocations: 285.7 kB / 485.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.356, allocations: 0.5479 MB / 486.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.3571, allocations: 1.019 MB / 487.4 MB, free: 17.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.3575, allocations: 337.3 kB / 487.7 MB, free: 17.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.358, allocations: 394.6 kB / 488.1 MB, free: 17.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.3584, allocations: 452 kB / 488.5 MB, free: 17.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.3586, allocations: 102.5 kB / 488.6 MB, free: 17.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.359, allocations: 190.1 kB / 488.8 MB, free: 17.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.3593, allocations: 236.7 kB / 489 MB, free: 17.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003698/0.3596, allocations: 467.3 kB / 489.5 MB, free: 16.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.3613, allocations: 1.226 MB / 490.7 MB, free: 16.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3613, allocations: 2.125 kB / 490.7 MB, free: 16.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3613, allocations: 0 / 490.7 MB, free: 16.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3613, allocations: 0 / 490.7 MB, free: 16.22 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00209/0.3634, allocations: 1.305 MB / 492 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3634, allocations: 17.55 kB / 492.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.3636, allocations: 103.3 kB / 492.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.3644, allocations: 0.6033 MB / 492.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.3645, allocations: 50.56 kB / 492.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3646, allocations: 78.81 kB / 492.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.3658, allocations: 0.6826 MB / 493.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.3658, allocations: 1.984 kB / 493.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.3659, allocations: 26.88 kB / 493.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.3659, allocations: 16.5 kB / 493.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.3671, allocations: 0.5036 MB / 494.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.3706, allocations: 2.602 MB / 496.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.3716, allocations: 443.1 kB / 497.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.372, allocations: 164.7 kB / 497.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.3721, allocations: 8.297 kB / 497.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/0.3726, allocations: 267.8 kB / 497.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.3726, allocations: 5.125 kB / 497.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001774/0.3744, allocations: 0.7432 MB / 498.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3745, allocations: 135.3 kB / 498.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000961/0.3754, allocations: 0.7822 MB / 499.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.3755, allocations: 34.14 kB / 499.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.3757, allocations: 409.4 kB / 499.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.3758, allocations: 126.9 kB / 499.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3759, allocations: 92.14 kB / 499.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.376, allocations: 375.2 kB / 0.4885 GB, free: 9.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.3765, allocations: 182.3 kB / 0.4887 GB, free: 9.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.3769, allocations: 287 kB / 0.489 GB, free: 9.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/0.3777, allocations: 0.5678 MB / 0.4895 GB, free: 9.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3778, allocations: 1.094 kB / 0.4895 GB, free: 9.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001218/0.379, allocations: 0.6586 MB / 0.4902 GB, free: 8.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.379, allocations: 94.64 kB / 0.4903 GB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.379, allocations: 7.703 kB / 0.4903 GB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.3792, allocations: 25.89 kB / 0.4903 GB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.3796, allocations: 98.91 kB / 0.4904 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007163/0.3803, allocations: 1.382 MB / 0.4917 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.3808, allocations: 85.17 kB / 0.4918 GB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.3808, allocations: 19.69 kB / 0.4918 GB, free: 7.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005915/0.3814, allocations: 366.6 kB / 0.4922 GB, free: 6.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004065/0.3818, allocations: 270.6 kB / 0.4924 GB, free: 6.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007465/0.3825, allocations: 0.546 MB / 0.493 GB, free: 6.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.3825, allocations: 1.312 kB / 0.493 GB, free: 6.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001108/0.3836, allocations: 0.6374 MB / 0.4936 GB, free: 5.891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.3837, allocations: 94.44 kB / 0.4937 GB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3837, allocations: 2.688 kB / 0.4937 GB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.869e-05/0.3838, allocations: 26.84 kB / 0.4937 GB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.3841, allocations: 87.92 kB / 0.4938 GB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006284/0.3847, allocations: 1.392 MB / 0.4952 GB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.3852, allocations: 71.05 kB / 0.4952 GB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.3852, allocations: 19.44 kB / 0.4953 GB, free: 4.258 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.0001839/0.3854, allocations: 274.2 kB / 0.4955 GB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.3855, allocations: 76.94 kB / 0.4956 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.3866, allocations: 0.5374 MB / 0.4961 GB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3867, allocations: 3.375 kB / 0.4961 GB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.3867, allocations: 1.406 kB / 0.4961 GB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3867, allocations: 3.984 kB / 0.4961 GB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.3886, allocations: 1.26 MB / 0.4974 GB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3886, allocations: 1.094 kB / 0.4974 GB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.3889, allocations: 67.39 kB / 0.4974 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.456e-05/0.389, allocations: 31.59 kB / 0.4974 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.389, allocations: 8.312 kB / 0.4975 GB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006354/0.3897, allocations: 1.378 MB / 0.4988 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3897, allocations: 0 / 0.4988 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3912, allocations: 0.8315 MB / 0.4996 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.3915, allocations: 182.4 kB / 0.4998 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.3916, allocations: 16.14 kB / 0.4998 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.392, allocations: 44.58 kB / 0.4998 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3921, allocations: 38.17 kB / 0.4999 GB, free: 420 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.3922, allocations: 13.09 kB / 0.4999 GB, free: 416 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007142/0.3929, allocations: 0.549 MB / 0.5004 GB, free: 112 kB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3929, allocations: 3.938 kB / 0.5004 GB, free: 108 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3939, allocations: 312.2 kB / 0.5007 GB, free: 16 kB / 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,oneFlange.pDC.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 (33): * Single equations (assignments): 28 * 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.002479/0.3964, allocations: 0.6065 MB / 0.5013 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.3991, allocations: 1.176 MB / 0.5025 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3991, allocations: 1.719 kB / 0.5025 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.3999, allocations: 419.4 kB / 0.5029 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.401, allocations: 123.9 kB / 0.503 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.4045, allocations: 1.456 MB / 0.5044 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009778/0.4055, allocations: 0.9514 MB / 0.5053 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006282/0.4061, allocations: 90.81 kB / 0.5054 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.4063, allocations: 45.28 kB / 0.5055 GB, free: 12.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4063, allocations: 0 / 0.5055 GB, free: 12.64 MB / 382.1 MB Notification: Performance of Templates: time 0.0223/0.4286, allocations: 8.49 MB / 0.5138 GB, free: 4.852 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe 2>&1)