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.0009833/0.0009834, allocations: 99.09 kB / 16.23 MB, free: 5.863 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.0009531/0.0009531, allocations: 186.4 kB / 17.16 MB, free: 5.504 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.324/1.324, allocations: 222.9 MB / 240.8 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04038/0.04038, allocations: 8.595 MB / 299.6 MB, free: 6.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 60.14 kB / 361.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2283, allocations: 51.32 MB / 413.2 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.00466/0.233, allocations: 4.094 MB / 417.3 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.235, allocations: 1.422 MB / 418.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.2353, allocations: 12 kB / 418.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.2357, allocations: 150.8 kB / 418.9 MB, free: 19.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.2362, allocations: 194.5 kB / 419.1 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.2367, allocations: 382.6 kB / 419.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005235/0.2373, allocations: 0.8335 MB / 420.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.2377, allocations: 452.4 kB / 420.8 MB, free: 17.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.238, allocations: 314.9 kB / 421.1 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.2383, allocations: 354.4 kB / 421.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.325e-05/0.2384, allocations: 96 kB / 421.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.2385, allocations: 124 kB / 421.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.2387, allocations: 207.4 kB / 421.8 MB, free: 16.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.2389, allocations: 394.1 kB / 422.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.2395, allocations: 0.9931 MB / 423.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2396, allocations: 0 / 423.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2396, allocations: 3.938 kB / 423.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.2396, allocations: 3.938 kB / 423.2 MB, free: 15.42 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.00145/0.241, allocations: 1.098 MB / 424.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2411, allocations: 12.03 kB / 424.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.2412, allocations: 80 kB / 424.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.2417, allocations: 0.4895 MB / 424.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.2417, allocations: 49.31 kB / 424.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.2418, allocations: 71.98 kB / 425 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009769/0.2428, allocations: 0.6488 MB / 425.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2428, allocations: 3.938 kB / 425.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.2429, allocations: 24 kB / 425.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2429, allocations: 16 kB / 425.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009398/0.2439, allocations: 480.9 kB / 426.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.2467, allocations: 2.513 MB / 428.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000821/0.2475, allocations: 420.7 kB / 429.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.2479, allocations: 176.9 kB / 429.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.2479, allocations: 12.2 kB / 429.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005357/0.2485, allocations: 257.7 kB / 429.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.2485, allocations: 0 / 429.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001383/0.2499, allocations: 0.6779 MB / 430.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.2499, allocations: 140.7 kB / 430.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.2504, allocations: 0.5566 MB / 430.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2504, allocations: 33.7 kB / 430.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2506, allocations: 339.4 kB / 431.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.2507, allocations: 106.5 kB / 431.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2508, allocations: 73.61 kB / 431.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.2509, allocations: 366.8 kB / 431.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.2512, allocations: 153.2 kB / 432 MB, free: 6.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.2516, allocations: 258.5 kB / 432.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.2523, allocations: 0.5307 MB / 432.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2523, allocations: 4 kB / 432.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009534/0.2533, allocations: 0.5922 MB / 433.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.2533, allocations: 93.03 kB / 433.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2534, allocations: 4 kB / 433.4 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.2535, allocations: 24.84 kB / 433.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.2538, allocations: 83.88 kB / 433.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006974/0.2545, allocations: 1.375 MB / 434.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.2549, allocations: 83.45 kB / 435 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.255, allocations: 12 kB / 435 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004403/0.2554, allocations: 324.4 kB / 435.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003284/0.2558, allocations: 246.5 kB / 435.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006233/0.2564, allocations: 0.511 MB / 436.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.185e-06/0.2564, allocations: 4 kB / 436.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008512/0.2573, allocations: 0.5571 MB / 436.6 MB, free: 1.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.2573, allocations: 89.47 kB / 436.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2573, allocations: 8 kB / 436.7 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.24e-05/0.2574, allocations: 28.78 kB / 436.8 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.2577, allocations: 75.89 kB / 436.8 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007558/0.2584, allocations: 1.382 MB / 438.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.2588, allocations: 63.88 kB / 438.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.2589, allocations: 19.98 kB / 438.3 MB, free: 15.31 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.0002167/0.2591, allocations: 275.5 kB / 438.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.2592, allocations: 51.34 kB / 438.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2602, allocations: 0.4921 MB / 439.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2603, allocations: 4 kB / 439.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2603, allocations: 0 / 439.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2603, allocations: 3.984 kB / 439.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.2621, allocations: 1.127 MB / 440.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2621, allocations: 0 / 440.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.2624, allocations: 59.89 kB / 440.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.867e-05/0.2625, allocations: 28.84 kB / 440.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.2625, allocations: 11.94 kB / 440.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.2635, allocations: 1.371 MB / 441.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2635, allocations: 0 / 441.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.2652, allocations: 0.7651 MB / 442.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.2653, allocations: 128.5 kB / 442.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.2654, allocations: 8 kB / 442.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.2657, allocations: 43.95 kB / 442.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2658, allocations: 31.97 kB / 442.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.2659, allocations: 19.86 kB / 442.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004324/0.2663, allocations: 406.8 kB / 443.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2663, allocations: 0 / 443.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007177/0.267, allocations: 263 kB / 443.4 MB, free: 9.938 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.0008454/0.2679, allocations: 377 kB / 443.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.2698, allocations: 1.167 MB / 444.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2698, allocations: 0 / 444.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.2704, allocations: 429.2 kB / 445.3 MB, free: 7.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.2709, allocations: 78.02 kB / 445.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.2731, allocations: 1.198 MB / 446.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.2738, allocations: 0.8893 MB / 447.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.274, allocations: 59.38 kB / 447.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.2741, allocations: 39.44 kB / 447.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2741, allocations: 0 / 447.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of Templates: time 0.01213/0.2862, allocations: 7 MB / 454.6 MB, free: 14.7 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 -s cvode -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)