Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.0009368/0.0009369, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006997/0.006997, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1406/0.1406, allocations: 8.028 MB / 299.5 MB, free: 3.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002687, allocations: 8 kB / 362.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07675/0.07704, allocations: 52.18 MB / 414.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004141/0.08121, allocations: 3.873 MB / 418.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.08311, allocations: 1.442 MB / 419.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.08332, allocations: 19.94 kB / 419.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.08363, allocations: 119.3 kB / 420 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.08402, allocations: 170.9 kB / 420.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.08461, allocations: 359.3 kB / 420.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006793/0.0853, allocations: 0.8025 MB / 421.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.08582, allocations: 419.1 kB / 421.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.08608, allocations: 258.8 kB / 422 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.08639, allocations: 302.4 kB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.08646, allocations: 32 kB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.08659, allocations: 60 kB / 422.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.08675, allocations: 147.4 kB / 422.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.08704, allocations: 371.7 kB / 422.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007594/0.08781, allocations: 0.9887 MB / 423.9 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.08782, allocations: 0 / 423.9 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.08783, allocations: 0 / 423.9 MB, free: 364 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.08784, allocations: 3.938 kB / 423.9 MB, free: 360 kB / 350.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.1317/0.2196, allocations: 1.015 MB / 424.9 MB, free: 41.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2196, allocations: 9.75 kB / 424.9 MB, free: 41.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.2198, allocations: 84.75 kB / 425 MB, free: 41.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.2203, allocations: 0.5074 MB / 425.5 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.2204, allocations: 52.41 kB / 425.6 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.282e-05/0.2205, allocations: 71.66 kB / 425.6 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.2216, allocations: 0.7224 MB / 426.3 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.2217, allocations: 4.281 kB / 426.4 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.2217, allocations: 32.89 kB / 426.4 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2218, allocations: 13.97 kB / 426.4 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.2228, allocations: 0.5379 MB / 426.9 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.2257, allocations: 2.59 MB / 429.5 MB, free: 40.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.2266, allocations: 469.4 kB / 430 MB, free: 40.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.2271, allocations: 193.2 kB / 430.2 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.2271, allocations: 6.812 kB / 430.2 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005567/0.2277, allocations: 282.8 kB / 430.5 MB, free: 40.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.2277, allocations: 0 / 430.5 MB, free: 40.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001488/0.2292, allocations: 0.7537 MB / 431.2 MB, free: 39.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2292, allocations: 141.7 kB / 431.3 MB, free: 39.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.2298, allocations: 0.5664 MB / 431.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2298, allocations: 34.05 kB / 431.9 MB, free: 39.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.23, allocations: 357.1 kB / 432.3 MB, free: 39.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.23, allocations: 119.9 kB / 432.4 MB, free: 39.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.2301, allocations: 38.94 kB / 432.5 MB, free: 39.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.2302, allocations: 366.3 kB / 432.8 MB, free: 38.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.2306, allocations: 171.8 kB / 433 MB, free: 38.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.2311, allocations: 276.6 kB / 433.2 MB, free: 38.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.2319, allocations: 0.5838 MB / 433.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2319, allocations: 0 / 433.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001055/0.233, allocations: 0.6391 MB / 434.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.2331, allocations: 263.2 kB / 434.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2331, allocations: 3.094 kB / 434.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.2332, allocations: 24.92 kB / 434.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.2336, allocations: 88.5 kB / 434.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006072/0.2342, allocations: 1.296 MB / 436.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.2346, allocations: 92.88 kB / 436.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.2346, allocations: 17.91 kB / 436.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/0.2347, allocations: 2.5 kB / 436.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009295/0.2356, allocations: 0.562 MB / 436.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2356, allocations: 3.312 kB / 436.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.361e-05/0.2357, allocations: 25.08 kB / 436.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.236, allocations: 87.55 kB / 436.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005261/0.2365, allocations: 1.295 MB / 438.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.2369, allocations: 82.58 kB / 438.3 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.2369, allocations: 17.06 kB / 438.3 MB, free: 34.77 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 (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.0002348/0.2372, allocations: 363.5 kB / 438.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.2372, allocations: 49.47 kB / 438.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.2383, allocations: 0.5436 MB / 439.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2383, allocations: 3.188 kB / 439.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.2383, allocations: 11.19 kB / 439.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2383, allocations: 3 kB / 439.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.2398, allocations: 1.221 MB / 440.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2398, allocations: 4 kB / 440.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.2401, allocations: 73.25 kB / 440.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.588e-05/0.2402, allocations: 21.69 kB / 440.6 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.2403, allocations: 7.469 kB / 440.6 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005268/0.2408, allocations: 1.294 MB / 441.9 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2408, allocations: 3.938 kB / 441.9 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.2422, allocations: 0.8293 MB / 442.7 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.2423, allocations: 134.6 kB / 442.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.2423, allocations: 14.97 kB / 442.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.2427, allocations: 63.16 kB / 442.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.2428, allocations: 27.06 kB / 443 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.2428, allocations: 13.47 kB / 443 MB, free: 31.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003519/0.2432, allocations: 415.8 kB / 443.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2432, allocations: 3.938 kB / 443.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006238/0.2438, allocations: 289.5 kB / 443.7 MB, free: 31.29 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,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.0007391/0.2446, allocations: 358.5 kB / 444 MB, free: 31.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.2462, allocations: 1.24 MB / 445.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2462, allocations: 0 / 445.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.2468, allocations: 455.3 kB / 445.7 MB, free: 30.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.2473, allocations: 81.47 kB / 445.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2489, allocations: 1.588 MB / 447.4 MB, free: 29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.2492, allocations: 0.903 MB / 448.3 MB, free: 28.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.2495, allocations: 65.08 kB / 448.3 MB, free: 28.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.2496, allocations: 34.64 kB / 448.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2496, allocations: 0 / 448.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of Templates: time 0.009579/0.2592, allocations: 6.648 MB / 455 MB, free: 27.72 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)