Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001171/0.001171, allocations: 100.1 kB / 15.88 MB, free: 12 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.001407/0.001407, allocations: 198.1 kB / 16.79 MB, free: 6.809 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: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1538/0.1538, allocations: 8.024 MB / 298.6 MB, free: 2.496 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 360.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1033, allocations: 51.19 MB / 411.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005762/0.1091, allocations: 4.126 MB / 415.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.1123, allocations: 1.403 MB / 417.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.1127, allocations: 15.94 kB / 417.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.1133, allocations: 115.3 kB / 417.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.1137, allocations: 167 kB / 417.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.1144, allocations: 351.4 kB / 418 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006734/0.1151, allocations: 0.7553 MB / 418.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005653/0.1157, allocations: 394.4 kB / 419.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.1161, allocations: 270.9 kB / 419.4 MB, free: 4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.1164, allocations: 326.5 kB / 419.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.1165, allocations: 51.94 kB / 419.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.1167, allocations: 71.98 kB / 419.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.1169, allocations: 163.4 kB / 420 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.1172, allocations: 354.1 kB / 420.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.1179, allocations: 0.7991 MB / 421.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1179, allocations: 0 / 421.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.118, allocations: 0 / 421.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.118, allocations: 0 / 421.1 MB, free: 2.25 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.001778/0.1197, allocations: 1.094 MB / 422.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1198, allocations: 8.031 kB / 422.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.12, allocations: 87.92 kB / 422.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.1206, allocations: 0.4973 MB / 422.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.1206, allocations: 49.31 kB / 422.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.1207, allocations: 67.94 kB / 422.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1846/0.3053, allocations: 0.6408 MB / 423.5 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.3054, allocations: 4 kB / 423.5 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.3055, allocations: 28.81 kB / 423.6 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.3055, allocations: 15.41 kB / 423.6 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.3066, allocations: 478.1 kB / 424.1 MB, free: 44.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.3097, allocations: 2.513 MB / 426.6 MB, free: 43.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/0.3106, allocations: 422.8 kB / 427 MB, free: 43.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.3109, allocations: 169.5 kB / 427.2 MB, free: 43.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.311, allocations: 7.359 kB / 427.2 MB, free: 43.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005655/0.3115, allocations: 253.3 kB / 427.4 MB, free: 43.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.3116, allocations: 0 / 427.4 MB, free: 43.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001456/0.313, allocations: 0.6864 MB / 428.1 MB, free: 42.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3131, allocations: 134.9 kB / 428.2 MB, free: 42.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005577/0.3137, allocations: 0.5506 MB / 428.8 MB, free: 42.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.3137, allocations: 32.7 kB / 428.8 MB, free: 42.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.3139, allocations: 343.3 kB / 429.1 MB, free: 41.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.314, allocations: 101.5 kB / 429.2 MB, free: 41.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3141, allocations: 78.19 kB / 429.3 MB, free: 41.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.3142, allocations: 365.5 kB / 429.7 MB, free: 41.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.3145, allocations: 164 kB / 429.8 MB, free: 41.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.3149, allocations: 251.3 kB / 430.1 MB, free: 41.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.3157, allocations: 0.5307 MB / 430.6 MB, free: 40.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3157, allocations: 0 / 430.6 MB, free: 40.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001093/0.3168, allocations: 0.5944 MB / 431.2 MB, free: 40.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.3169, allocations: 90.45 kB / 431.3 MB, free: 40.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3169, allocations: 6.938 kB / 431.3 MB, free: 40.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.3171, allocations: 17.48 kB / 431.3 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.3174, allocations: 90.08 kB / 431.4 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007269/0.3181, allocations: 1.287 MB / 432.7 MB, free: 39.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.3186, allocations: 81.67 kB / 432.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.3186, allocations: 19.47 kB / 432.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005001/0.3191, allocations: 314.2 kB / 433.1 MB, free: 38.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000351/0.3195, allocations: 242.2 kB / 433.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006889/0.3202, allocations: 0.5113 MB / 433.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.3202, allocations: 0.6562 kB / 433.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009702/0.3212, allocations: 0.5634 MB / 434.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3212, allocations: 94.5 kB / 434.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3212, allocations: 3.312 kB / 434.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-05/0.3213, allocations: 28.66 kB / 434.5 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.3216, allocations: 76.45 kB / 434.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006069/0.3222, allocations: 1.285 MB / 435.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.3226, allocations: 63.81 kB / 436 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.3227, allocations: 15.94 kB / 436 MB, free: 36.69 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.0001722/0.3229, allocations: 271.3 kB / 436.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.3229, allocations: 49.89 kB / 436.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009854/0.3239, allocations: 495.5 kB / 436.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.324, allocations: 3.25 kB / 436.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.324, allocations: 3.938 kB / 436.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.324, allocations: 7.078 kB / 436.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.3255, allocations: 1.127 MB / 437.9 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3255, allocations: 0 / 437.9 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.3258, allocations: 69.28 kB / 438 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-05/0.3259, allocations: 23.84 kB / 438 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.3259, allocations: 7.469 kB / 438 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005909/0.3265, allocations: 1.279 MB / 439.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3265, allocations: 3.281 kB / 439.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3278, allocations: 0.777 MB / 440.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.3279, allocations: 131.5 kB / 440.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/0.328, allocations: 10.16 kB / 440.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.3284, allocations: 46.48 kB / 440.3 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.3285, allocations: 36.69 kB / 440.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.3285, allocations: 9.656 kB / 440.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003816/0.3289, allocations: 407.2 kB / 440.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3289, allocations: 0 / 440.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007309/0.3296, allocations: 267.1 kB / 441 MB, free: 33.34 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.0008109/0.3304, allocations: 373.2 kB / 441.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3321, allocations: 1.158 MB / 442.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3321, allocations: 0 / 442.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.3326, allocations: 431.1 kB / 442.9 MB, free: 32.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.3332, allocations: 78.8 kB / 443 MB, free: 32.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3348, allocations: 1.455 MB / 444.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3351, allocations: 0.8933 MB / 445.3 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3352, allocations: 35.48 kB / 445.4 MB, free: 30.45 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3352, allocations: 0 / 445.4 MB, free: 30.45 MB / 350.1 MB Notification: Performance of Templates: time 0.009719/0.345, allocations: 10.18 MB / 455.5 MB, free: 29.32 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)