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.001487/0.001487, allocations: 108 kB / 15.59 MB, free: 184 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 197 kB / 16.51 MB, free: 6.723 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 / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1892/0.1892, allocations: 8.03 MB / 298.4 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 55.91 kB / 360.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 51.2 MB / 411.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.00576/0.1161, allocations: 4.129 MB / 415.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.1186, allocations: 1.434 MB / 417.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.1188, allocations: 15.94 kB / 417.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.1192, allocations: 146.8 kB / 417.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004574/0.1197, allocations: 194.5 kB / 417.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.1204, allocations: 391.1 kB / 418.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007767/0.1212, allocations: 0.8417 MB / 418.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006429/0.1218, allocations: 495.9 kB / 419.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003203/0.1222, allocations: 326.8 kB / 419.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.1225, allocations: 362.4 kB / 420 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1226, allocations: 96 kB / 420.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.1228, allocations: 131.9 kB / 420.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.1231, allocations: 203.4 kB / 420.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.1234, allocations: 406.1 kB / 420.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008995/0.1243, allocations: 1.016 MB / 421.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1243, allocations: 0 / 421.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1243, allocations: 0 / 421.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1244, allocations: 0 / 421.9 MB, free: 0.8828 MB / 350.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.1905/0.3148, allocations: 1.11 MB / 423 MB, free: 44.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3149, allocations: 9.312 kB / 423 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.3151, allocations: 83.91 kB / 423.1 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.3158, allocations: 0.4925 MB / 423.6 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.3158, allocations: 51.81 kB / 423.6 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3159, allocations: 68.55 kB / 423.7 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.3171, allocations: 0.6712 MB / 424.4 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.3171, allocations: 9.188 kB / 424.4 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.3172, allocations: 36.28 kB / 424.4 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3172, allocations: 15.33 kB / 424.4 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009894/0.3182, allocations: 493.7 kB / 424.9 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.3211, allocations: 2.578 MB / 427.5 MB, free: 42.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.3219, allocations: 426.3 kB / 427.9 MB, free: 42.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.3223, allocations: 168.9 kB / 428.1 MB, free: 42.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.3224, allocations: 7.672 kB / 428.1 MB, free: 42.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.3229, allocations: 264.1 kB / 428.3 MB, free: 42.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.3229, allocations: 0 / 428.3 MB, free: 42.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001353/0.3243, allocations: 0.6735 MB / 429 MB, free: 41.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3243, allocations: 142.1 kB / 429.1 MB, free: 41.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.3249, allocations: 0.5644 MB / 429.7 MB, free: 41.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.3249, allocations: 32.92 kB / 429.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3251, allocations: 347.7 kB / 430.1 MB, free: 41.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.3252, allocations: 101.1 kB / 430.2 MB, free: 41.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3253, allocations: 80.16 kB / 430.3 MB, free: 41.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.3254, allocations: 357.4 kB / 430.6 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.3257, allocations: 168.2 kB / 430.8 MB, free: 40.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.3261, allocations: 255.3 kB / 431 MB, free: 40.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.3269, allocations: 0.5279 MB / 431.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3269, allocations: 0 / 431.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009596/0.3279, allocations: 0.5908 MB / 432.1 MB, free: 39.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.3279, allocations: 91.64 kB / 432.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.3279, allocations: 3.312 kB / 432.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.3281, allocations: 29.11 kB / 432.3 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.3284, allocations: 85.42 kB / 432.3 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007302/0.3291, allocations: 1.381 MB / 433.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.3295, allocations: 76.28 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.3296, allocations: 12.72 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004627/0.3301, allocations: 318.2 kB / 434.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003373/0.3304, allocations: 249 kB / 434.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006515/0.3311, allocations: 0.521 MB / 434.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.3311, allocations: 6.906 kB / 434.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008927/0.332, allocations: 0.5568 MB / 435.5 MB, free: 37.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.332, allocations: 89.73 kB / 435.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.332, allocations: 7.031 kB / 435.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-05/0.3321, allocations: 31.16 kB / 435.6 MB, free: 37.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.3324, allocations: 78.94 kB / 435.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006117/0.333, allocations: 1.383 MB / 437 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.3334, allocations: 59.94 kB / 437.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.3334, allocations: 17.16 kB / 437.1 MB, free: 35.74 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,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.0001323/0.3336, allocations: 266.7 kB / 437.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.3336, allocations: 61.03 kB / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009021/0.3345, allocations: 0.493 MB / 437.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3345, allocations: 3.406 kB / 437.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.3346, allocations: 0 / 437.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3346, allocations: 4 kB / 437.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.336, allocations: 1.139 MB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.336, allocations: 3.031 kB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.3363, allocations: 62.09 kB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-05/0.3363, allocations: 18.52 kB / 439.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.3364, allocations: 10.62 kB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006227/0.337, allocations: 1.382 MB / 440.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.337, allocations: 0 / 440.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.3383, allocations: 0.7691 MB / 441.3 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.3384, allocations: 136.3 kB / 441.4 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.3384, allocations: 7.188 kB / 441.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.3388, allocations: 42.97 kB / 441.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.3389, allocations: 30.59 kB / 441.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3389, allocations: 13.78 kB / 441.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003801/0.3393, allocations: 404 kB / 441.9 MB, free: 32.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3393, allocations: 3.938 kB / 441.9 MB, free: 32.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007082/0.34, allocations: 276.8 kB / 442.2 MB, free: 32.28 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,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.0007681/0.3408, allocations: 372.2 kB / 442.6 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.3423, allocations: 1.175 MB / 443.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3424, allocations: 0 / 443.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.3428, allocations: 424.9 kB / 444.2 MB, free: 31.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.3433, allocations: 99.42 kB / 444.3 MB, free: 31.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.345, allocations: 1.216 MB / 445.5 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3453, allocations: 0.8929 MB / 446.4 MB, free: 29.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.3455, allocations: 58.98 kB / 446.4 MB, free: 29.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.3456, allocations: 36.53 kB / 446.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3456, allocations: 3.938 kB / 446.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of Templates: time 0.01164/0.3572, allocations: 7.009 MB / 453.5 MB, free: 29.01 MB / 350.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 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)