Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001162/0.001161, allocations: 108 kB / 15.59 MB, free: 184 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.001174/0.001174, allocations: 196.5 kB / 16.51 MB, free: 6.719 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1284/0.1284, allocations: 8.022 MB / 298.4 MB, free: 2.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 55.91 kB / 360.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07924/0.08035, allocations: 51.19 MB / 411.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004723/0.0851, allocations: 4.103 MB / 415.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.08687, allocations: 1.418 MB / 417.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.08707, allocations: 12 kB / 417.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.0874, allocations: 142.8 kB / 417.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.08779, allocations: 206.5 kB / 417.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.08835, allocations: 379 kB / 418 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.08898, allocations: 0.8374 MB / 418.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.08946, allocations: 450.7 kB / 419.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.08972, allocations: 318.9 kB / 419.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.09003, allocations: 354.5 kB / 419.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-05/0.09013, allocations: 92 kB / 420 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.09028, allocations: 120 kB / 420.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.09045, allocations: 203.4 kB / 420.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.09072, allocations: 394.1 kB / 420.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.09144, allocations: 1.001 MB / 421.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.09146, allocations: 8 kB / 421.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09146, allocations: 0 / 421.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.09148, allocations: 0 / 421.7 MB, free: 1.039 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.1382/0.2297, allocations: 1.091 MB / 422.8 MB, free: 44.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2297, allocations: 10.28 kB / 422.8 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2299, allocations: 84.31 kB / 422.9 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.2304, allocations: 0.4907 MB / 423.4 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.2305, allocations: 48.75 kB / 423.5 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.2306, allocations: 64.03 kB / 423.5 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009836/0.2316, allocations: 0.6499 MB / 424.2 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.2316, allocations: 0.8438 kB / 424.2 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.2317, allocations: 32.47 kB / 424.2 MB, free: 44.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2317, allocations: 16.06 kB / 424.2 MB, free: 44.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.2326, allocations: 480 kB / 424.7 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/0.2351, allocations: 2.506 MB / 427.2 MB, free: 42.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.2359, allocations: 421.8 kB / 427.6 MB, free: 42.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.2362, allocations: 170.7 kB / 427.8 MB, free: 42.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.2363, allocations: 3.328 kB / 427.8 MB, free: 42.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/0.2368, allocations: 265.6 kB / 428 MB, free: 42.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.2368, allocations: 1.594 kB / 428 MB, free: 42.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001261/0.2381, allocations: 0.6779 MB / 428.7 MB, free: 42.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2381, allocations: 135 kB / 428.9 MB, free: 41.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.2386, allocations: 0.5561 MB / 429.4 MB, free: 41.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.2386, allocations: 37.38 kB / 429.4 MB, free: 41.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.2388, allocations: 337.7 kB / 429.8 MB, free: 41.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.2388, allocations: 107.1 kB / 429.9 MB, free: 41.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.239, allocations: 74.7 kB / 430 MB, free: 41.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.239, allocations: 366.8 kB / 430.3 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.2394, allocations: 158.7 kB / 430.5 MB, free: 40.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.2397, allocations: 260.2 kB / 430.7 MB, free: 40.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.2404, allocations: 0.5275 MB / 431.2 MB, free: 40.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2404, allocations: 3.219 kB / 431.2 MB, free: 40.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008987/0.2413, allocations: 0.59 MB / 431.8 MB, free: 39.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.2414, allocations: 90.19 kB / 431.9 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2414, allocations: 4.234 kB / 431.9 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.2416, allocations: 29.06 kB / 432 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.2419, allocations: 82.52 kB / 432 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007113/0.2426, allocations: 1.389 MB / 433.4 MB, free: 38.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.243, allocations: 73.64 kB / 433.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.243, allocations: 16.75 kB / 433.5 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004188/0.2435, allocations: 319.8 kB / 433.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003281/0.2438, allocations: 250 kB / 434.1 MB, free: 38.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006141/0.2444, allocations: 0.5118 MB / 434.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.2444, allocations: 0.625 kB / 434.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008161/0.2453, allocations: 0.5674 MB / 435.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.2453, allocations: 89.66 kB / 435.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2453, allocations: 3.125 kB / 435.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-05/0.2454, allocations: 24.03 kB / 435.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2456, allocations: 75.55 kB / 435.3 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000556/0.2462, allocations: 1.383 MB / 436.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.2465, allocations: 63.75 kB / 436.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.2466, allocations: 20.19 kB / 436.8 MB, free: 35.88 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.0001182/0.2467, allocations: 262.5 kB / 437.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.2468, allocations: 56.78 kB / 437.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008344/0.2476, allocations: 0.4918 MB / 437.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2476, allocations: 0 / 437.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.2476, allocations: 3 kB / 437.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2476, allocations: 7.422 kB / 437.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.249, allocations: 1.126 MB / 438.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.249, allocations: 0 / 438.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.2492, allocations: 64.47 kB / 438.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.12e-05/0.2493, allocations: 18.16 kB / 438.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.2493, allocations: 7.156 kB / 438.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005203/0.2499, allocations: 1.39 MB / 440.2 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2499, allocations: 2.031 kB / 440.2 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.251, allocations: 0.7627 MB / 441 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.2511, allocations: 137.2 kB / 441.1 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.2511, allocations: 12.53 kB / 441.1 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.2515, allocations: 44.72 kB / 441.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.2515, allocations: 31.23 kB / 441.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.2516, allocations: 10.41 kB / 441.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.2519, allocations: 405.3 kB / 441.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2519, allocations: 0 / 441.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005958/0.2525, allocations: 272.4 kB / 441.9 MB, free: 32.45 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.0007229/0.2532, allocations: 362.2 kB / 442.2 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.2546, allocations: 1.162 MB / 443.4 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2546, allocations: 3.938 kB / 443.4 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.2551, allocations: 428.2 kB / 443.8 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.2556, allocations: 99.66 kB / 443.9 MB, free: 31.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.257, allocations: 1.193 MB / 445.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.2572, allocations: 0.8907 MB / 446 MB, free: 29.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.2574, allocations: 62.72 kB / 446.1 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.2575, allocations: 36.12 kB / 446.1 MB, free: 29.78 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2575, allocations: 3.5 kB / 446.1 MB, free: 29.78 MB / 350.1 MB Notification: Performance of Templates: time 0.009005/0.2665, allocations: 6.997 MB / 453.1 MB, free: 29.2 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)