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.001583/0.001583, allocations: 93.17 kB / 16.24 MB, free: 6.367 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.00168/0.00168, allocations: 188.8 kB / 17.18 MB, free: 5.973 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.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03845/0.03845, allocations: 8.033 MB / 299 MB, free: 6.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.91 kB / 361.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.19, allocations: 51.2 MB / 412.4 MB, free: 26.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004244/0.1943, allocations: 4.1 MB / 416.5 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1961, allocations: 1.415 MB / 417.9 MB, free: 20.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.1963, allocations: 11.94 kB / 417.9 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1967, allocations: 150.8 kB / 418.1 MB, free: 20.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.1971, allocations: 202.5 kB / 418.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.1976, allocations: 374.3 kB / 418.7 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.1981, allocations: 0.8374 MB / 419.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.1985, allocations: 452.4 kB / 419.9 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.1988, allocations: 318.9 kB / 420.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.199, allocations: 350.5 kB / 420.6 MB, free: 18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.409e-05/0.1991, allocations: 100 kB / 420.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1993, allocations: 116 kB / 420.8 MB, free: 17.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.1994, allocations: 207.4 kB / 421 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.1997, allocations: 398.1 kB / 421.4 MB, free: 17.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.2003, allocations: 0.9931 MB / 422.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2003, allocations: 0 / 422.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2003, allocations: 0 / 422.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2003, allocations: 0 / 422.4 MB, free: 16.2 MB / 302.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.001414/0.2017, allocations: 1.102 MB / 423.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.2017, allocations: 8.031 kB / 423.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.2019, allocations: 84 kB / 423.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.2023, allocations: 497.3 kB / 424.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.2024, allocations: 57.25 kB / 424.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.2025, allocations: 71.92 kB / 424.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.2034, allocations: 0.641 MB / 424.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.2034, allocations: 3.938 kB / 424.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.2035, allocations: 32 kB / 424.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2035, allocations: 19.98 kB / 424.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009057/0.2044, allocations: 468.9 kB / 425.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.207, allocations: 2.513 MB / 427.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.2078, allocations: 436.6 kB / 428.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.2082, allocations: 173 kB / 428.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.2082, allocations: 8.219 kB / 428.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004971/0.2087, allocations: 257.6 kB / 428.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.2087, allocations: 0 / 428.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001306/0.21, allocations: 0.6701 MB / 429.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.2101, allocations: 144.7 kB / 429.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.2105, allocations: 0.5605 MB / 430.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2106, allocations: 33.7 kB / 430.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2107, allocations: 331.4 kB / 430.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.2108, allocations: 106.5 kB / 430.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2109, allocations: 77.61 kB / 430.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.211, allocations: 362.8 kB / 431 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.2113, allocations: 165.1 kB / 431.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.2117, allocations: 257.4 kB / 431.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.2124, allocations: 0.5385 MB / 431.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2124, allocations: 0 / 431.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009009/0.2133, allocations: 0.5805 MB / 432.5 MB, free: 5.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.2133, allocations: 97.03 kB / 432.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2133, allocations: 4 kB / 432.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.2135, allocations: 28.78 kB / 432.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.2138, allocations: 80.22 kB / 432.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/0.2144, allocations: 1.375 MB / 434.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.2148, allocations: 83.42 kB / 434.2 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.2148, allocations: 20 kB / 434.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004275/0.2153, allocations: 320.5 kB / 434.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003171/0.2156, allocations: 246.9 kB / 434.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006158/0.2162, allocations: 0.511 MB / 435.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.2162, allocations: 0 / 435.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008347/0.2171, allocations: 0.5612 MB / 435.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.2171, allocations: 93.72 kB / 435.9 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2171, allocations: 4 kB / 435.9 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-05/0.2172, allocations: 20.84 kB / 435.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.2174, allocations: 75.98 kB / 436 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005405/0.218, allocations: 1.394 MB / 437.4 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.2184, allocations: 55.75 kB / 437.5 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.2184, allocations: 27.92 kB / 437.5 MB, free: 72 kB / 302.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.0001852/0.2186, allocations: 263.5 kB / 437.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.2187, allocations: 55.34 kB / 437.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.2197, allocations: 0.4922 MB / 438.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2197, allocations: 0 / 438.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2197, allocations: 4 kB / 438.3 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2197, allocations: 3.984 kB / 438.3 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.2213, allocations: 1.123 MB / 439.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2214, allocations: 0 / 439.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.2217, allocations: 59.89 kB / 439.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-05/0.2217, allocations: 24.84 kB / 439.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.2218, allocations: 11.94 kB / 439.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008129/0.2226, allocations: 1.375 MB / 440.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2226, allocations: 0 / 440.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.224, allocations: 0.769 MB / 441.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.2241, allocations: 132.5 kB / 441.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.2242, allocations: 12 kB / 441.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.2246, allocations: 39.95 kB / 441.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.2247, allocations: 27.97 kB / 441.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.2247, allocations: 15.92 kB / 441.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004073/0.2251, allocations: 406.8 kB / 442.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.2251, allocations: 0 / 442.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006976/0.2258, allocations: 266.9 kB / 442.5 MB, free: 10.71 MB / 318.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.0007761/0.2266, allocations: 373 kB / 442.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.2285, allocations: 1.171 MB / 444.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2285, allocations: 0 / 444.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.2291, allocations: 429.2 kB / 444.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.2296, allocations: 97.5 kB / 444.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.2316, allocations: 1.219 MB / 445.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.232, allocations: 0.8932 MB / 446.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2321, allocations: 39.44 kB / 446.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2321, allocations: 0 / 446.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of Templates: time 0.01318/0.2453, allocations: 10.19 MB / 456.9 MB, free: 12.26 MB / 334.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)