Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001305/0.001305, allocations: 108 kB / 15.6 MB, free: 132 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.001344/0.001345, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1729/0.1729, allocations: 8.025 MB / 298.4 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 67.91 kB / 360.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1067, allocations: 51.18 MB / 411.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005959/0.1127, allocations: 4.119 MB / 415.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.1154, allocations: 1.403 MB / 417.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.1159, allocations: 12 kB / 417.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.1165, allocations: 150.8 kB / 417.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008497/0.1173, allocations: 202.5 kB / 417.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.1183, allocations: 383 kB / 418.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.1196, allocations: 0.8335 MB / 418.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007302/0.1203, allocations: 458.7 kB / 419.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.1208, allocations: 318.8 kB / 419.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.1214, allocations: 354.5 kB / 420 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.1215, allocations: 92 kB / 420.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.1218, allocations: 124 kB / 420.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.122, allocations: 199.4 kB / 420.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.1224, allocations: 398.1 kB / 420.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009422/0.1233, allocations: 1.001 MB / 421.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1233, allocations: 4 kB / 421.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1233, allocations: 0 / 421.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.1234, allocations: 0 / 421.8 MB, free: 0.9883 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.1827/0.3061, allocations: 1.093 MB / 422.9 MB, free: 44.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3061, allocations: 9.375 kB / 422.9 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.3063, allocations: 80.62 kB / 423 MB, free: 44.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007278/0.3071, allocations: 499.3 kB / 423.5 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.3071, allocations: 49.11 kB / 423.5 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.3072, allocations: 68.19 kB / 423.6 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3084, allocations: 0.6465 MB / 424.2 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.3084, allocations: 11 kB / 424.2 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.3085, allocations: 26.62 kB / 424.3 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3085, allocations: 16.66 kB / 424.3 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3095, allocations: 484.9 kB / 424.8 MB, free: 43.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.3125, allocations: 2.496 MB / 427.3 MB, free: 42.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.3133, allocations: 424.7 kB / 427.7 MB, free: 42.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.3137, allocations: 170 kB / 427.8 MB, free: 42.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3137, allocations: 8.516 kB / 427.8 MB, free: 42.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/0.3143, allocations: 256.5 kB / 428.1 MB, free: 42.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.3143, allocations: 0 / 428.1 MB, free: 42.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001443/0.3158, allocations: 0.6758 MB / 428.8 MB, free: 41.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3158, allocations: 142.8 kB / 428.9 MB, free: 41.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.3163, allocations: 0.5579 MB / 429.5 MB, free: 41.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.3164, allocations: 35.95 kB / 429.5 MB, free: 41.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.3165, allocations: 327.9 kB / 429.8 MB, free: 41.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.3166, allocations: 115.4 kB / 429.9 MB, free: 41.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3167, allocations: 78.23 kB / 430 MB, free: 41.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.3168, allocations: 360.8 kB / 430.4 MB, free: 40.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.3172, allocations: 165.3 kB / 430.5 MB, free: 40.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.3176, allocations: 258.6 kB / 430.8 MB, free: 40.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.3184, allocations: 0.5288 MB / 431.3 MB, free: 40.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3184, allocations: 3.812 kB / 431.3 MB, free: 40.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009691/0.3194, allocations: 0.5895 MB / 431.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.3194, allocations: 94.05 kB / 432 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3194, allocations: 3.188 kB / 432 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.3196, allocations: 25.02 kB / 432 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.3199, allocations: 80.06 kB / 432.1 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/0.3207, allocations: 1.376 MB / 433.5 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.3211, allocations: 84.27 kB / 433.6 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3212, allocations: 16.88 kB / 433.6 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004895/0.3216, allocations: 322.9 kB / 433.9 MB, free: 38.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003568/0.322, allocations: 247.2 kB / 434.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006761/0.3227, allocations: 0.5114 MB / 434.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.3227, allocations: 0 / 434.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008951/0.3236, allocations: 0.5579 MB / 435.2 MB, free: 37.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.3237, allocations: 94.16 kB / 435.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3237, allocations: 3.219 kB / 435.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.854e-05/0.3237, allocations: 24.94 kB / 435.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.324, allocations: 77.5 kB / 435.4 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006187/0.3246, allocations: 1.381 MB / 436.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.325, allocations: 72.95 kB / 436.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.325, allocations: 17.12 kB / 436.9 MB, free: 35.71 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.0001436/0.3252, allocations: 266.8 kB / 437.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.3253, allocations: 49.62 kB / 437.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.3262, allocations: 0.494 MB / 437.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3262, allocations: 3.281 kB / 437.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3262, allocations: 0 / 437.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3262, allocations: 0 / 437.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.3276, allocations: 1.137 MB / 438.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3276, allocations: 0 / 438.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.3279, allocations: 58.12 kB / 438.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.596e-05/0.328, allocations: 24.73 kB / 438.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.328, allocations: 11.34 kB / 438.9 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006/0.3286, allocations: 1.381 MB / 440.3 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3286, allocations: 0 / 440.3 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3299, allocations: 0.7638 MB / 441 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.33, allocations: 136 kB / 441.2 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.33, allocations: 14.34 kB / 441.2 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.3304, allocations: 40.08 kB / 441.2 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.3305, allocations: 33.19 kB / 441.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.3305, allocations: 8.406 kB / 441.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003443/0.3309, allocations: 410 kB / 441.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3309, allocations: 96 / 441.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006694/0.3316, allocations: 271.2 kB / 441.9 MB, free: 32.28 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.0007953/0.3324, allocations: 365.3 kB / 442.3 MB, free: 32.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.334, allocations: 1.179 MB / 443.5 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3341, allocations: 0 / 443.5 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.3346, allocations: 420 kB / 443.9 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.3351, allocations: 97.64 kB / 444 MB, free: 31.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.3369, allocations: 1.199 MB / 445.2 MB, free: 30.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3372, allocations: 0.8911 MB / 446.1 MB, free: 29.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.3375, allocations: 65.28 kB / 446.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.3376, allocations: 37.72 kB / 446.2 MB, free: 29.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3376, allocations: 0 / 446.2 MB, free: 29.6 MB / 350.1 MB Notification: Performance of Templates: time 0.01297/0.3505, allocations: 6.996 MB / 453.2 MB, free: 29.02 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)