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.001043/0.001043, allocations: 101.4 kB / 16.23 MB, free: 5.91 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.001027/0.001027, allocations: 185.7 kB / 17.16 MB, free: 5.543 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.327/1.327, allocations: 222.9 MB / 240.8 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04221/0.04221, allocations: 8.605 MB / 299.6 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001126, allocations: 67.89 kB / 361.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 51.32 MB / 413.2 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.00449/0.2361, allocations: 4.101 MB / 417.3 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.2379, allocations: 1.407 MB / 418.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.2382, allocations: 15.94 kB / 418.8 MB, free: 19.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.2385, allocations: 146.9 kB / 418.9 MB, free: 19.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.239, allocations: 198.5 kB / 419.1 MB, free: 19.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.2396, allocations: 384.9 kB / 419.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.2401, allocations: 0.8413 MB / 420.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.2406, allocations: 448.5 kB / 420.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.2409, allocations: 311 kB / 421.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.2412, allocations: 358.4 kB / 421.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.2413, allocations: 92 kB / 421.5 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2414, allocations: 123.9 kB / 421.6 MB, free: 17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.2416, allocations: 207.3 kB / 421.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.2419, allocations: 398.1 kB / 422.2 MB, free: 16.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.2426, allocations: 0.997 MB / 423.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2426, allocations: 4 kB / 423.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2426, allocations: 0 / 423.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.2426, allocations: 0 / 423.2 MB, free: 15.4 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.001559/0.2442, allocations: 1.094 MB / 424.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2442, allocations: 12.03 kB / 424.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.2444, allocations: 80 kB / 424.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.2449, allocations: 0.4934 MB / 424.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.2449, allocations: 45.31 kB / 424.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.245, allocations: 68 kB / 425 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009954/0.246, allocations: 0.6488 MB / 425.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.246, allocations: 0 / 425.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.2461, allocations: 31.94 kB / 425.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.2461, allocations: 16 kB / 425.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.2471, allocations: 484.9 kB / 426.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.2499, allocations: 2.516 MB / 428.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008138/0.2507, allocations: 420.6 kB / 429.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.2511, allocations: 173 kB / 429.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.2511, allocations: 8.219 kB / 429.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.2517, allocations: 257.7 kB / 429.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.2517, allocations: 0 / 429.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001431/0.2531, allocations: 0.6779 MB / 430.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2532, allocations: 140.7 kB / 430.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.2537, allocations: 0.5488 MB / 430.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.2537, allocations: 37.7 kB / 430.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.2539, allocations: 335.4 kB / 431.3 MB, free: 6.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.2539, allocations: 110.5 kB / 431.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2541, allocations: 77.61 kB / 431.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.2541, allocations: 362.8 kB / 431.8 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.2545, allocations: 161.1 kB / 431.9 MB, free: 6.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.2549, allocations: 258.5 kB / 432.2 MB, free: 5.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.2556, allocations: 0.5307 MB / 432.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2556, allocations: 3.938 kB / 432.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000958/0.2566, allocations: 0.5885 MB / 433.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.2567, allocations: 93.03 kB / 433.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2567, allocations: 4.094 kB / 433.4 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.2568, allocations: 28.78 kB / 433.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.2571, allocations: 83.83 kB / 433.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/0.2578, allocations: 1.379 MB / 434.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.2582, allocations: 79.55 kB / 435 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.2583, allocations: 16 kB / 435 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004498/0.2587, allocations: 316.4 kB / 435.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003294/0.2591, allocations: 250.4 kB / 435.6 MB, free: 2.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006213/0.2597, allocations: 0.5149 MB / 436.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.2597, allocations: 0 / 436.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008695/0.2606, allocations: 0.5609 MB / 436.6 MB, free: 1.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.2606, allocations: 91.12 kB / 436.7 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2606, allocations: 4 kB / 436.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.162e-05/0.2607, allocations: 29.22 kB / 436.8 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.261, allocations: 75.89 kB / 436.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007633/0.2618, allocations: 1.378 MB / 438.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.2622, allocations: 63.83 kB / 438.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.2622, allocations: 16 kB / 438.3 MB, free: 15.29 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.0002177/0.2624, allocations: 284.7 kB / 438.6 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.2625, allocations: 51.34 kB / 438.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.2636, allocations: 500 kB / 439.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2636, allocations: 4 kB / 439.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.2636, allocations: 0 / 439.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2636, allocations: 3.984 kB / 439.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.2653, allocations: 1.123 MB / 440.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2653, allocations: 0 / 440.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.2656, allocations: 67.88 kB / 440.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.517e-05/0.2657, allocations: 12.86 kB / 440.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.2658, allocations: 23.92 kB / 440.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000944/0.2667, allocations: 1.371 MB / 441.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2667, allocations: 0 / 441.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.2682, allocations: 0.7612 MB / 442.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.2683, allocations: 128.5 kB / 442.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.2684, allocations: 11.94 kB / 442.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.2687, allocations: 51.94 kB / 442.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.2688, allocations: 27.97 kB / 442.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.2689, allocations: 15.94 kB / 442.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004376/0.2693, allocations: 402.8 kB / 443.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2693, allocations: 0 / 443.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007254/0.2701, allocations: 271 kB / 443.4 MB, free: 9.914 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.0007685/0.2708, allocations: 371.1 kB / 443.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.2727, allocations: 1.163 MB / 444.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2727, allocations: 0 / 444.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.2734, allocations: 433.3 kB / 445.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.2739, allocations: 74.58 kB / 445.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.2758, allocations: 1.204 MB / 446.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.2763, allocations: 0.8893 MB / 447.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.2765, allocations: 63.36 kB / 447.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.2766, allocations: 35.38 kB / 447.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2766, allocations: 4 kB / 447.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Templates: time 0.0124/0.289, allocations: 6.993 MB / 454.6 MB, free: 14.68 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 gbode -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)