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.001802/0.001802, allocations: 107 kB / 16.36 MB, free: 6.336 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.001845/0.001845, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04078/0.04078, allocations: 8.042 MB / 299.2 MB, free: 6.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 63.91 kB / 362.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2136, allocations: 51.19 MB / 413.3 MB, free: 26.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004604/0.2182, allocations: 4.1 MB / 417.4 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2201, allocations: 1.407 MB / 418.8 MB, free: 20.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.2204, allocations: 12 kB / 418.8 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.2208, allocations: 154.8 kB / 418.9 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.2212, allocations: 202.5 kB / 419.1 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.2218, allocations: 382.4 kB / 419.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.2223, allocations: 0.8413 MB / 420.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.2228, allocations: 452.3 kB / 420.8 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.223, allocations: 314.9 kB / 421.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.2233, allocations: 354.5 kB / 421.4 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.2234, allocations: 92 kB / 421.5 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2235, allocations: 128 kB / 421.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.2237, allocations: 195.4 kB / 421.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.2239, allocations: 406.1 kB / 422.2 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.2246, allocations: 1.02 MB / 423.3 MB, free: 16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2246, allocations: 4 kB / 423.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2246, allocations: 0 / 423.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.2246, allocations: 0 / 423.3 MB, free: 15.99 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.001398/0.226, allocations: 1.09 MB / 424.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2261, allocations: 12.03 kB / 424.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.2262, allocations: 80 kB / 424.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.2267, allocations: 0.4934 MB / 424.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.2268, allocations: 57.3 kB / 425 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.2268, allocations: 64 kB / 425.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.2278, allocations: 0.6488 MB / 425.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.2278, allocations: 3.984 kB / 425.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.2279, allocations: 32 kB / 425.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2279, allocations: 16 kB / 425.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/0.2288, allocations: 476.9 kB / 426.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.2315, allocations: 2.481 MB / 428.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/0.2323, allocations: 436.6 kB / 429.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.2327, allocations: 173 kB / 429.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.2327, allocations: 240 / 429.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.2332, allocations: 257.7 kB / 429.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.2332, allocations: 0 / 429.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00136/0.2346, allocations: 0.6779 MB / 430.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.2346, allocations: 144.6 kB / 430.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.2351, allocations: 0.5527 MB / 430.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.2352, allocations: 37.7 kB / 431 MB, free: 7.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2353, allocations: 343.4 kB / 431.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.2354, allocations: 98.56 kB / 431.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2355, allocations: 77.69 kB / 431.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.2356, allocations: 362.7 kB / 431.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.2359, allocations: 165.2 kB / 432 MB, free: 6.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.2363, allocations: 258.5 kB / 432.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.237, allocations: 0.5268 MB / 432.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.237, allocations: 4 kB / 432.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009181/0.2379, allocations: 0.5882 MB / 433.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.238, allocations: 93.05 kB / 433.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.238, allocations: 0 / 433.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/0.2381, allocations: 28.84 kB / 433.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.2384, allocations: 80.22 kB / 433.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007049/0.2392, allocations: 1.386 MB / 434.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.2395, allocations: 75.48 kB / 435 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.2396, allocations: 19.98 kB / 435 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004268/0.24, allocations: 320.4 kB / 435.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003197/0.2403, allocations: 242.9 kB / 435.6 MB, free: 2.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006193/0.241, allocations: 0.511 MB / 436.1 MB, free: 2.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.241, allocations: 0 / 436.1 MB, free: 2.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008359/0.2418, allocations: 0.5648 MB / 436.7 MB, free: 1.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.2419, allocations: 89.73 kB / 436.7 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2419, allocations: 4.375 kB / 436.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.925e-05/0.2419, allocations: 28.84 kB / 436.8 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2422, allocations: 75.89 kB / 436.8 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006245/0.2429, allocations: 1.39 MB / 438.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.2433, allocations: 55.69 kB / 438.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.2433, allocations: 24.09 kB / 438.3 MB, free: 15.9 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 (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.0001931/0.2435, allocations: 270.3 kB / 438.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.2436, allocations: 59.33 kB / 438.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.2446, allocations: 492 kB / 439.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2446, allocations: 7.984 kB / 439.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2447, allocations: 0 / 439.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2447, allocations: 7.938 kB / 439.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.2464, allocations: 1.128 MB / 440.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2464, allocations: 0 / 440.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2467, allocations: 55.89 kB / 440.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.421e-05/0.2468, allocations: 20.84 kB / 440.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.2468, allocations: 15.94 kB / 440.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008736/0.2477, allocations: 1.371 MB / 441.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2477, allocations: 4.188 kB / 441.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.2491, allocations: 0.7661 MB / 442.5 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.2492, allocations: 136.6 kB / 442.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.688e-05/0.2493, allocations: 8 kB / 442.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.2497, allocations: 39.95 kB / 442.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.2498, allocations: 39.83 kB / 442.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2498, allocations: 19.94 kB / 442.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004374/0.2503, allocations: 406.8 kB / 443.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2503, allocations: 0 / 443.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007463/0.251, allocations: 263 kB / 443.4 MB, free: 10.53 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.0008137/0.2518, allocations: 368.7 kB / 443.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.2537, allocations: 1.159 MB / 444.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.2537, allocations: 0 / 444.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.2543, allocations: 434 kB / 445.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.2549, allocations: 82.58 kB / 445.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.2568, allocations: 1.182 MB / 446.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.2573, allocations: 0.8932 MB / 447.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.2575, allocations: 55.38 kB / 447.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.2576, allocations: 43.36 kB / 447.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2577, allocations: 0 / 447.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of Templates: time 0.01265/0.2703, allocations: 6.994 MB / 454.6 MB, free: 15.3 MB / 334.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 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)