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 main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.001473/0.001474, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001599/0.001599, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1869/0.1869, allocations: 8.608 MB / 299.6 MB, free: 3.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004081, allocations: 12 kB / 362.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1061, allocations: 52.32 MB / 414.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.00416/0.1103, allocations: 3.416 MB / 418.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.1127, allocations: 1.337 MB / 419.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.1131, allocations: 15.94 kB / 419.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1134, allocations: 111.3 kB / 419.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.1139, allocations: 187.4 kB / 419.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.1145, allocations: 263.4 kB / 420 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006288/0.1151, allocations: 0.4916 MB / 420.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005183/0.1157, allocations: 358.3 kB / 420.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.1159, allocations: 223.1 kB / 421.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.1163, allocations: 266.7 kB / 421.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.1163, allocations: 32 kB / 421.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1165, allocations: 48 kB / 421.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1166, allocations: 131.5 kB / 421.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1168, allocations: 157.3 kB / 421.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007176/0.1175, allocations: 0.7948 MB / 422.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1175, allocations: 0 / 422.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1175, allocations: 0 / 422.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1175, allocations: 4 kB / 422.5 MB, free: 1.312 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.001649/0.1192, allocations: 1.007 MB / 423.5 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1192, allocations: 8.031 kB / 423.5 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.1194, allocations: 83.06 kB / 423.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2006/0.32, allocations: 491 kB / 424.1 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.3201, allocations: 53.44 kB / 424.2 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3202, allocations: 67.3 kB / 424.2 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3214, allocations: 0.6765 MB / 424.9 MB, free: 40.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.3214, allocations: 4.219 kB / 424.9 MB, free: 40.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.3215, allocations: 29.17 kB / 424.9 MB, free: 40.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3215, allocations: 16.47 kB / 424.9 MB, free: 40.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3225, allocations: 0.5059 MB / 425.5 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.3257, allocations: 2.624 MB / 428.1 MB, free: 39.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.3266, allocations: 457.3 kB / 428.5 MB, free: 39.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.3266, allocations: 8.438 kB / 428.5 MB, free: 39.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000545/0.3272, allocations: 270.7 kB / 428.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.3272, allocations: 0 / 428.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00146/0.3286, allocations: 0.8076 MB / 429.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3287, allocations: 143.4 kB / 429.7 MB, free: 39.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.3293, allocations: 0.5629 MB / 430.3 MB, free: 39.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3294, allocations: 32.86 kB / 430.3 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.3296, allocations: 347.5 kB / 430.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.491e-05/0.3297, allocations: 109.2 kB / 430.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.3297, allocations: 6.562 kB / 430.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.3298, allocations: 364.3 kB / 431.1 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.3302, allocations: 168.6 kB / 431.3 MB, free: 38.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.3306, allocations: 272.5 kB / 431.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.3311, allocations: 266.1 kB / 431.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3311, allocations: 3.219 kB / 431.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001193/0.3323, allocations: 0.6153 MB / 432.5 MB, free: 38.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.3326, allocations: 1.229 MB / 433.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3327, allocations: 0.6875 kB / 433.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.3328, allocations: 28.55 kB / 433.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.3332, allocations: 88 kB / 433.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007903/0.334, allocations: 1.283 MB / 435.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.3344, allocations: 89.08 kB / 435.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3345, allocations: 23.36 kB / 435.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.3345, allocations: 7.25 kB / 435.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009866/0.3355, allocations: 0.5425 MB / 435.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3355, allocations: 3.344 kB / 435.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.488e-05/0.3356, allocations: 31.83 kB / 435.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.3359, allocations: 78.84 kB / 435.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005661/0.3365, allocations: 1.291 MB / 437.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.3369, allocations: 79.34 kB / 437.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3369, allocations: 20.41 kB / 437.2 MB, free: 33.95 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 ($whenCondition1,oneFlangeConn.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003945/0.3373, allocations: 360 kB / 437.6 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.3374, allocations: 58.58 kB / 437.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.3384, allocations: 0.5159 MB / 438.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3384, allocations: 6.828 kB / 438.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.3384, allocations: 0 / 438.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3384, allocations: 3.25 kB / 438.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.34, allocations: 1.18 MB / 439.4 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.34, allocations: 3 kB / 439.4 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.3403, allocations: 71.17 kB / 439.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.009e-05/0.3404, allocations: 22.02 kB / 439.4 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.3404, allocations: 11.06 kB / 439.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005663/0.341, allocations: 1.279 MB / 440.7 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.341, allocations: 8.203 kB / 440.7 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.3423, allocations: 0.7992 MB / 441.5 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3424, allocations: 138.7 kB / 441.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.3425, allocations: 10.38 kB / 441.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.3429, allocations: 60.16 kB / 441.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.343, allocations: 34.28 kB / 441.8 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.343, allocations: 16.95 kB / 441.8 MB, free: 30.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.3434, allocations: 410.3 kB / 442.2 MB, free: 30.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3434, allocations: 0 / 442.2 MB, free: 30.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007279/0.3441, allocations: 271.8 kB / 442.5 MB, free: 30.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007488/0.3449, allocations: 362.5 kB / 442.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3465, allocations: 1.218 MB / 444 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3465, allocations: 0 / 444 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.3471, allocations: 445 kB / 444.5 MB, free: 29.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3475, allocations: 73.92 kB / 444.5 MB, free: 29.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3493, allocations: 1.453 MB / 446 MB, free: 28.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3496, allocations: 0.9139 MB / 446.9 MB, free: 27.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000244/0.3499, allocations: 62.41 kB / 447 MB, free: 27.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.35, allocations: 35.64 kB / 447 MB, free: 27.62 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.35, allocations: 0 / 447 MB, free: 27.62 MB / 350.1 MB Notification: Performance of Templates: time 0.009711/0.3597, allocations: 6.332 MB / 453.3 MB, free: 27.05 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)