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.001099/0.001099, allocations: 99.19 kB / 16.02 MB, free: 76 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.001115/0.001115, allocations: 186.3 kB / 16.92 MB, free: 6.75 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1549/0.1549, allocations: 8.023 MB / 300.1 MB, free: 3.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 8 kB / 363.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09901, allocations: 52.19 MB / 415.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004609/0.1036, allocations: 3.713 MB / 419 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.106, allocations: 1.384 MB / 420.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.1063, allocations: 11.94 kB / 420.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.1067, allocations: 119.3 kB / 420.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.1072, allocations: 163 kB / 420.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.1079, allocations: 343.3 kB / 421 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006779/0.1086, allocations: 0.7515 MB / 421.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.1092, allocations: 402.3 kB / 422.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.1094, allocations: 223 kB / 422.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.1098, allocations: 286.5 kB / 422.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.1098, allocations: 32 kB / 422.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.11, allocations: 56 kB / 422.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.1102, allocations: 135.4 kB / 422.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.1104, allocations: 347.8 kB / 423.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.1111, allocations: 0.7715 MB / 423.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1111, allocations: 4 kB / 423.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1111, allocations: 0 / 423.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1111, allocations: 0 / 423.9 MB, free: 0.9648 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.1892/0.3003, allocations: 0.9706 MB / 424.9 MB, free: 41.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.3004, allocations: 9.969 kB / 424.9 MB, free: 41.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.3007, allocations: 82.5 kB / 425 MB, free: 41.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009253/0.3016, allocations: 0.4943 MB / 425.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.3017, allocations: 46.06 kB / 425.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.3019, allocations: 72.98 kB / 425.6 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.3039, allocations: 0.665 MB / 426.3 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.304, allocations: 0 / 426.3 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.3041, allocations: 34.03 kB / 426.3 MB, free: 41.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.3041, allocations: 13.88 kB / 426.3 MB, free: 41.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.306, allocations: 0.5027 MB / 426.8 MB, free: 41.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.3107, allocations: 2.532 MB / 429.4 MB, free: 40.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.312, allocations: 451.5 kB / 429.8 MB, free: 40.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/0.3127, allocations: 191 kB / 430 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.3127, allocations: 4.031 kB / 430 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008231/0.3136, allocations: 267.4 kB / 430.2 MB, free: 40.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 3.767e-06/0.3136, allocations: 4 kB / 430.2 MB, free: 40.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.002383/0.316, allocations: 0.7349 MB / 431 MB, free: 39.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.3161, allocations: 136.9 kB / 431.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008536/0.3169, allocations: 0.5551 MB / 431.7 MB, free: 39.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.317, allocations: 32.27 kB / 431.7 MB, free: 39.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.3173, allocations: 339.4 kB / 432 MB, free: 39.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.3175, allocations: 113.3 kB / 432.1 MB, free: 39.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.3176, allocations: 40.16 kB / 432.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3178, allocations: 361.4 kB / 432.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.3184, allocations: 171.6 kB / 432.7 MB, free: 39.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.319, allocations: 276.4 kB / 433 MB, free: 38.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.3206, allocations: 0.5645 MB / 433.5 MB, free: 38.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3206, allocations: 0 / 433.5 MB, free: 38.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002049/0.3227, allocations: 0.6206 MB / 434.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.3228, allocations: 261.9 kB / 434.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3229, allocations: 3.344 kB / 434.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.3231, allocations: 26.3 kB / 434.4 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.3236, allocations: 92.19 kB / 434.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009538/0.3246, allocations: 1.283 MB / 435.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.3253, allocations: 89.05 kB / 435.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.3254, allocations: 19.75 kB / 435.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3254, allocations: 3.938 kB / 435.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001586/0.327, allocations: 0.5481 MB / 436.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3271, allocations: 0 / 436.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.3272, allocations: 28.5 kB / 436.5 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.3277, allocations: 89.28 kB / 436.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009514/0.3287, allocations: 1.288 MB / 437.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.3294, allocations: 74.53 kB / 438 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.3295, allocations: 13.22 kB / 438 MB, free: 35.2 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.0005006/0.33, allocations: 367.4 kB / 438.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3301, allocations: 53.19 kB / 438.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.3316, allocations: 0.5206 MB / 438.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3316, allocations: 7.156 kB / 438.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3316, allocations: 0 / 438.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3316, allocations: 3.328 kB / 438.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.3332, allocations: 1.158 MB / 440.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3332, allocations: 7.328 kB / 440.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.3335, allocations: 59.23 kB / 440.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-05/0.3336, allocations: 24.92 kB / 440.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.3336, allocations: 10.5 kB / 440.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006292/0.3343, allocations: 1.285 MB / 441.4 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3343, allocations: 0 / 441.4 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.3357, allocations: 0.8212 MB / 442.3 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3358, allocations: 134.6 kB / 442.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.3358, allocations: 11.25 kB / 442.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3362, allocations: 57.61 kB / 442.5 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.3363, allocations: 27.72 kB / 442.5 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.3363, allocations: 13.17 kB / 442.5 MB, free: 32.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004073/0.3368, allocations: 400.7 kB / 442.9 MB, free: 31.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3368, allocations: 2.938 kB / 442.9 MB, free: 31.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007906/0.3376, allocations: 269.9 kB / 443.2 MB, free: 31.77 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.0008111/0.3384, allocations: 372.8 kB / 443.5 MB, free: 31.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.3402, allocations: 1.21 MB / 444.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3403, allocations: 4 kB / 444.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.3408, allocations: 440 kB / 445.2 MB, free: 30.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006316/0.3415, allocations: 85.52 kB / 445.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.3436, allocations: 1.529 MB / 446.8 MB, free: 29.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3439, allocations: 0.888 MB / 447.7 MB, free: 28.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3441, allocations: 43.41 kB / 447.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3441, allocations: 0 / 447.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01199/0.3561, allocations: 10.1 MB / 457.8 MB, free: 27.75 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)