Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 104.7 kB / 15.98 MB, free: 6.352 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.00117/0.00117, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.246/1.246, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03694/0.03694, allocations: 8.043 MB / 298.8 MB, free: 6.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 55.91 kB / 360.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1928, allocations: 51.19 MB / 412 MB, free: 26.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004158/0.197, allocations: 4.299 MB / 416.3 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1987, allocations: 1.426 MB / 417.7 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.199, allocations: 12 kB / 417.7 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.1994, allocations: 127.3 kB / 417.8 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.1998, allocations: 178.9 kB / 418 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.2003, allocations: 358.7 kB / 418.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.2008, allocations: 0.8807 MB / 419.2 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.2012, allocations: 485.7 kB / 419.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2015, allocations: 346.8 kB / 420 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.2017, allocations: 378.4 kB / 420.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.2018, allocations: 100 kB / 420.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.202, allocations: 136 kB / 420.6 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.2021, allocations: 207.4 kB / 420.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.2023, allocations: 433.9 kB / 421.3 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.2029, allocations: 0.8614 MB / 422.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2029, allocations: 4 kB / 422.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2029, allocations: 0 / 422.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2029, allocations: 0 / 422.1 MB, free: 16.12 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001447/0.2044, allocations: 1.155 MB / 423.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2044, allocations: 8.031 kB / 423.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2045, allocations: 84 kB / 423.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.205, allocations: 0.5011 MB / 423.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.205, allocations: 54 kB / 423.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.2051, allocations: 75.91 kB / 424 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2061, allocations: 0.7035 MB / 424.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2062, allocations: 4 kB / 424.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.2062, allocations: 35.98 kB / 424.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2062, allocations: 20 kB / 424.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009309/0.2072, allocations: 0.4938 MB / 425.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.2099, allocations: 2.56 MB / 427.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.2107, allocations: 443.5 kB / 428.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.2111, allocations: 172.8 kB / 428.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.2111, allocations: 7.984 kB / 428.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005292/0.2116, allocations: 270.8 kB / 428.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.2116, allocations: 0 / 428.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001352/0.213, allocations: 0.6965 MB / 429.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2131, allocations: 140.5 kB / 429.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.2135, allocations: 0.5683 MB / 430.1 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2135, allocations: 33.7 kB / 430.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.2137, allocations: 363.8 kB / 430.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.2138, allocations: 106.5 kB / 430.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2139, allocations: 78.06 kB / 430.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.214, allocations: 370.7 kB / 431 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.2143, allocations: 166.2 kB / 431.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.2147, allocations: 259.3 kB / 431.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.2154, allocations: 0.5427 MB / 432 MB, free: 5.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2154, allocations: 4 kB / 432 MB, free: 5.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009289/0.2163, allocations: 0.6077 MB / 432.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.2164, allocations: 87.3 kB / 432.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2164, allocations: 4 kB / 432.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.2165, allocations: 24.84 kB / 432.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.2168, allocations: 83.88 kB / 432.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006696/0.2175, allocations: 1.395 MB / 434.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.2179, allocations: 83.31 kB / 434.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.218, allocations: 20 kB / 434.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004445/0.2184, allocations: 320.8 kB / 434.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003291/0.2188, allocations: 251.3 kB / 434.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006144/0.2194, allocations: 0.5263 MB / 435.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.2194, allocations: 0 / 435.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008242/0.2202, allocations: 0.5726 MB / 436 MB, free: 1.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.2203, allocations: 93.47 kB / 436 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2203, allocations: 8 kB / 436.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.861e-05/0.2203, allocations: 24.84 kB / 436.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.2206, allocations: 75.83 kB / 436.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006382/0.2213, allocations: 1.398 MB / 437.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.2217, allocations: 63.83 kB / 437.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.2217, allocations: 16 kB / 437.6 MB, free: 15.61 MB / 318.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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001903/0.2219, allocations: 268.2 kB / 437.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.222, allocations: 51.34 kB / 437.9 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.223, allocations: 0.5147 MB / 438.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.223, allocations: 4 kB / 438.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.223, allocations: 0 / 438.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.223, allocations: 0 / 438.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.2247, allocations: 1.191 MB / 439.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2247, allocations: 4 kB / 439.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.225, allocations: 55.89 kB / 439.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-05/0.2251, allocations: 28.84 kB / 439.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.2251, allocations: 8 kB / 439.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008202/0.226, allocations: 1.394 MB / 441.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.226, allocations: 0 / 441.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.2274, allocations: 0.7925 MB / 441.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.2275, allocations: 132.4 kB / 442.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.2275, allocations: 8 kB / 442.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.2279, allocations: 47.95 kB / 442.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.228, allocations: 35.95 kB / 442.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.2281, allocations: 12 kB / 442.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004183/0.2285, allocations: 410.8 kB / 442.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2285, allocations: 3.938 kB / 442.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000745/0.2292, allocations: 286.8 kB / 442.8 MB, free: 10.09 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.0008019/0.2301, allocations: 373 kB / 443.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.2319, allocations: 1.202 MB / 444.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.232, allocations: 4 kB / 444.4 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.2325, allocations: 441.2 kB / 444.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.2331, allocations: 89.91 kB / 444.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.2352, allocations: 1.52 MB / 446.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.2356, allocations: 0.9017 MB / 447.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2357, allocations: 39.44 kB / 447.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2357, allocations: 0 / 447.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of Templates: time 0.01218/0.2479, allocations: 10.65 MB / 458 MB, free: 10.82 MB / 334.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)