Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 98.19 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.001034/0.001034, 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.339/1.339, 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.04075/0.04075, allocations: 8.604 MB / 299.6 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 361.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2182, allocations: 51.33 MB / 413.2 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004649/0.2229, allocations: 4.137 MB / 417.4 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2248, allocations: 1.414 MB / 418.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.2251, allocations: 15.94 kB / 418.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.2255, allocations: 154.8 kB / 419 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.226, allocations: 198.5 kB / 419.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.2266, allocations: 382.5 kB / 419.5 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000623/0.2272, allocations: 0.8418 MB / 420.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.2278, allocations: 0.4898 MB / 420.9 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.228, allocations: 326.9 kB / 421.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2283, allocations: 354.4 kB / 421.5 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.775e-05/0.2284, allocations: 96 kB / 421.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.2285, allocations: 128 kB / 421.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2287, allocations: 211.3 kB / 421.9 MB, free: 16.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.2289, allocations: 406.1 kB / 422.3 MB, free: 16.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.2295, allocations: 1.024 MB / 423.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2295, allocations: 3.938 kB / 423.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2295, allocations: 0 / 423.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2296, allocations: 0 / 423.4 MB, free: 15.26 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001503/0.2311, allocations: 1.108 MB / 424.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2311, allocations: 8.031 kB / 424.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.2312, allocations: 87.98 kB / 424.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.2317, allocations: 0.4937 MB / 425.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.2318, allocations: 53.25 kB / 425.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/0.2318, allocations: 71.91 kB / 425.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/0.2328, allocations: 0.6722 MB / 425.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.2328, allocations: 4 kB / 425.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.2329, allocations: 24 kB / 425.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2329, allocations: 16 kB / 425.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009004/0.2338, allocations: 492.9 kB / 426.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.2367, allocations: 2.582 MB / 429 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.2376, allocations: 428.8 kB / 429.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.238, allocations: 173 kB / 429.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.238, allocations: 4.234 kB / 429.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005652/0.2386, allocations: 257.7 kB / 429.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/0.2386, allocations: 3.984 kB / 429.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001367/0.24, allocations: 0.6894 MB / 430.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.24, allocations: 132.5 kB / 430.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.2405, allocations: 0.5606 MB / 431.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.2405, allocations: 33.7 kB / 431.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.2407, allocations: 344 kB / 431.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.2407, allocations: 102.5 kB / 431.7 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2408, allocations: 73.69 kB / 431.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.2409, allocations: 362.8 kB / 432.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.2413, allocations: 161.2 kB / 432.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.2416, allocations: 262.5 kB / 432.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007369/0.2424, allocations: 0.531 MB / 433 MB, free: 5.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2424, allocations: 0 / 433 MB, free: 5.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009444/0.2433, allocations: 0.5959 MB / 433.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.2434, allocations: 89.11 kB / 433.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2434, allocations: 8 kB / 433.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.2436, allocations: 24.84 kB / 433.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.2439, allocations: 88.16 kB / 433.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006549/0.2445, allocations: 1.383 MB / 435.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.2449, allocations: 79.52 kB / 435.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.245, allocations: 23.92 kB / 435.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000432/0.2454, allocations: 316.5 kB / 435.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000326/0.2457, allocations: 242.5 kB / 435.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006107/0.2464, allocations: 0.511 MB / 436.4 MB, free: 1.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.2464, allocations: 4 kB / 436.4 MB, free: 1.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000844/0.2472, allocations: 0.5613 MB / 436.9 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2473, allocations: 93.11 kB / 437 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.2473, allocations: 3.938 kB / 437 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.388e-05/0.2473, allocations: 28.78 kB / 437.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.2476, allocations: 71.89 kB / 437.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007786/0.2484, allocations: 1.383 MB / 438.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.2488, allocations: 67.77 kB / 438.6 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2488, allocations: 16 kB / 438.6 MB, free: 14.99 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,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.0001855/0.249, allocations: 275.4 kB / 438.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.2491, allocations: 51.42 kB / 438.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009923/0.2501, allocations: 496 kB / 439.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2501, allocations: 7.984 kB / 439.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2501, allocations: 0 / 439.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2501, allocations: 7.938 kB / 439.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.2518, allocations: 1.139 MB / 440.6 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2518, allocations: 7.938 kB / 440.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.2521, allocations: 63.89 kB / 440.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.077e-05/0.2522, allocations: 12.86 kB / 440.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.2522, allocations: 11.98 kB / 440.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009278/0.2532, allocations: 1.371 MB / 442 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2532, allocations: 0 / 442 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.2546, allocations: 0.7612 MB / 442.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2547, allocations: 132.5 kB / 442.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.2548, allocations: 15.98 kB / 442.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.2551, allocations: 51.83 kB / 443 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.2552, allocations: 27.97 kB / 443 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.2553, allocations: 8 kB / 443 MB, free: 10.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004232/0.2557, allocations: 410.8 kB / 443.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2557, allocations: 0 / 443.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006917/0.2564, allocations: 274.8 kB / 443.7 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.0007704/0.2572, allocations: 376.3 kB / 444.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.2591, allocations: 1.167 MB / 445.2 MB, free: 8.086 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2591, allocations: 0 / 445.2 MB, free: 8.086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.2597, allocations: 425.2 kB / 445.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.2602, allocations: 90.08 kB / 445.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2621, allocations: 1.206 MB / 446.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.2626, allocations: 0.8894 MB / 447.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.2628, allocations: 67.34 kB / 447.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2629, allocations: 35.44 kB / 447.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.263, allocations: 3.938 kB / 447.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of Templates: time 0.01173/0.2747, allocations: 7.011 MB / 454.9 MB, free: 14.32 MB / 334.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)