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.001437/0.001437, allocations: 102.7 kB / 16.23 MB, free: 5.918 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.001581/0.001581, allocations: 186.2 kB / 17.16 MB, free: 5.555 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.494/1.494, allocations: 222.9 MB / 240.8 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03775/0.03775, allocations: 8.029 MB / 299 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 361.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 51.19 MB / 412.4 MB, free: 26.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004658/0.2131, allocations: 4.293 MB / 416.7 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2152, allocations: 1.454 MB / 418.2 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.2155, allocations: 12 kB / 418.2 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.2159, allocations: 158.8 kB / 418.3 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.2164, allocations: 206.4 kB / 418.5 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.217, allocations: 398.2 kB / 418.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.2176, allocations: 0.8923 MB / 419.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.2181, allocations: 485.7 kB / 420.3 MB, free: 18.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.2183, allocations: 342.8 kB / 420.6 MB, free: 17.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.2186, allocations: 386.3 kB / 421 MB, free: 17.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.322e-05/0.2187, allocations: 100 kB / 421.1 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.2189, allocations: 127.9 kB / 421.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.219, allocations: 215.4 kB / 421.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.2193, allocations: 425.9 kB / 421.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.22, allocations: 1.067 MB / 422.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.22, allocations: 0 / 422.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.22, allocations: 0 / 422.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.22, allocations: 0 / 422.9 MB, free: 15.64 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.00154/0.2216, allocations: 1.155 MB / 424.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.2216, allocations: 8.031 kB / 424.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.2217, allocations: 84 kB / 424.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.2222, allocations: 0.505 MB / 424.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.2223, allocations: 50 kB / 424.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.2224, allocations: 75.91 kB / 424.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2234, allocations: 0.7113 MB / 425.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.2234, allocations: 4 kB / 425.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.2235, allocations: 28 kB / 425.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2235, allocations: 16 kB / 425.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009696/0.2245, allocations: 0.4977 MB / 426 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.2274, allocations: 2.564 MB / 428.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008349/0.2282, allocations: 443.5 kB / 429 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.2286, allocations: 176.8 kB / 429.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2286, allocations: 0 / 429.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005704/0.2292, allocations: 279.3 kB / 429.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.2292, allocations: 0 / 429.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.00142/0.2307, allocations: 0.7043 MB / 430.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.2307, allocations: 144.4 kB / 430.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.2312, allocations: 0.5645 MB / 430.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2313, allocations: 33.7 kB / 430.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.2314, allocations: 355.9 kB / 431.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.2315, allocations: 114.4 kB / 431.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2316, allocations: 78.08 kB / 431.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.2317, allocations: 370.7 kB / 431.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.2321, allocations: 158.3 kB / 432 MB, free: 6.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.2325, allocations: 263.3 kB / 432.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.2332, allocations: 0.5427 MB / 432.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2332, allocations: 0 / 432.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009579/0.2342, allocations: 0.604 MB / 433.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.2342, allocations: 97.16 kB / 433.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.2342, allocations: 4.094 kB / 433.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.2344, allocations: 24.8 kB / 433.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.2347, allocations: 79.88 kB / 433.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007122/0.2354, allocations: 1.398 MB / 435 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.2359, allocations: 83.55 kB / 435.1 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.2359, allocations: 20 kB / 435.1 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004833/0.2364, allocations: 316.8 kB / 435.4 MB, free: 2.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003378/0.2368, allocations: 251.2 kB / 435.6 MB, free: 2.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006398/0.2374, allocations: 0.5302 MB / 436.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.2374, allocations: 0 / 436.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000888/0.2383, allocations: 0.5726 MB / 436.7 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.2384, allocations: 89.11 kB / 436.8 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2384, allocations: 4 kB / 436.8 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.067e-05/0.2385, allocations: 29.22 kB / 436.9 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.2387, allocations: 79.83 kB / 436.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008539/0.2396, allocations: 1.39 MB / 438.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.24, allocations: 63.7 kB / 438.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.2401, allocations: 20.09 kB / 438.4 MB, free: 15.12 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.0002484/0.2403, allocations: 268 kB / 438.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.2404, allocations: 55.34 kB / 438.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.2416, allocations: 0.5103 MB / 439.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2416, allocations: 4 kB / 439.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2416, allocations: 0 / 439.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2416, allocations: 3.984 kB / 439.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.2435, allocations: 1.183 MB / 440.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2435, allocations: 0 / 440.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.2438, allocations: 59.89 kB / 440.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.934e-05/0.2439, allocations: 28.84 kB / 440.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.2439, allocations: 8 kB / 440.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009808/0.2449, allocations: 1.394 MB / 441.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2449, allocations: 3.984 kB / 441.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.2464, allocations: 0.7839 MB / 442.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2466, allocations: 132.4 kB / 442.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.2467, allocations: 12 kB / 442.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.2471, allocations: 47.94 kB / 442.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2472, allocations: 35.91 kB / 442.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.2472, allocations: 8 kB / 442.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004995/0.2477, allocations: 418.8 kB / 443.3 MB, free: 9.875 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2477, allocations: 0 / 443.3 MB, free: 9.875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007829/0.2485, allocations: 282.8 kB / 443.6 MB, free: 9.598 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.0008712/0.2494, allocations: 374.5 kB / 444 MB, free: 9.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.2514, allocations: 1.198 MB / 445.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2514, allocations: 4.062 kB / 445.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.252, allocations: 433.3 kB / 445.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.2526, allocations: 93.22 kB / 445.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2547, allocations: 1.27 MB / 447 MB, free: 6.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.2552, allocations: 0.8978 MB / 447.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2553, allocations: 39.42 kB / 447.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2553, allocations: 4 kB / 447.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of Templates: time 0.01335/0.2687, allocations: 10.64 MB / 458.5 MB, free: 10.59 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)