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.001062/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00104/0.00104, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1518/0.1518, allocations: 8.019 MB / 298 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 359.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1018, allocations: 51.19 MB / 411.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005072/0.1069, allocations: 4.157 MB / 415.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1092, allocations: 1.422 MB / 416.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.1095, allocations: 12 kB / 416.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.1099, allocations: 123.2 kB / 416.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.1103, allocations: 159 kB / 417 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.1109, allocations: 347.5 kB / 417.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.1116, allocations: 0.7558 MB / 418.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000652/0.1122, allocations: 458.9 kB / 418.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.1125, allocations: 270.9 kB / 418.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.1129, allocations: 330.4 kB / 419.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.113, allocations: 52 kB / 419.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.1131, allocations: 87.91 kB / 419.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1133, allocations: 163.4 kB / 419.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.1136, allocations: 358.1 kB / 419.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007545/0.1144, allocations: 0.9774 MB / 420.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1144, allocations: 0 / 420.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1144, allocations: 0 / 420.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1144, allocations: 4 kB / 420.8 MB, free: 1.949 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.001731/0.1162, allocations: 1.112 MB / 421.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.1162, allocations: 12.03 kB / 421.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1164, allocations: 80 kB / 422 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.1169, allocations: 0.4938 MB / 422.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.117, allocations: 57.25 kB / 422.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/0.1171, allocations: 67.91 kB / 422.6 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1753/0.2924, allocations: 0.6615 MB / 423.2 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.2925, allocations: 6.312 kB / 423.2 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/0.2926, allocations: 26.19 kB / 423.3 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2926, allocations: 15.88 kB / 423.3 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.2936, allocations: 493.8 kB / 423.8 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.2967, allocations: 2.579 MB / 426.3 MB, free: 43.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.2975, allocations: 428.1 kB / 426.8 MB, free: 43.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.2979, allocations: 173.6 kB / 426.9 MB, free: 43.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.2979, allocations: 3.016 kB / 426.9 MB, free: 43.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.2985, allocations: 254.1 kB / 427.2 MB, free: 43.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.2985, allocations: 0 / 427.2 MB, free: 43.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001379/0.2999, allocations: 0.69 MB / 427.9 MB, free: 42.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3, allocations: 142.3 kB / 428 MB, free: 42.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.3004, allocations: 0.5604 MB / 428.6 MB, free: 42.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3005, allocations: 33.17 kB / 428.6 MB, free: 42.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3006, allocations: 348.8 kB / 428.9 MB, free: 42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.3007, allocations: 101.5 kB / 429 MB, free: 41.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3008, allocations: 76.56 kB / 429.1 MB, free: 41.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.3009, allocations: 361.8 kB / 429.5 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.3013, allocations: 162.8 kB / 429.6 MB, free: 41.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.3017, allocations: 259.7 kB / 429.9 MB, free: 41.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.3024, allocations: 0.5275 MB / 430.4 MB, free: 40.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3024, allocations: 0 / 430.4 MB, free: 40.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009347/0.3034, allocations: 0.5991 MB / 431 MB, free: 40.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.3034, allocations: 90.11 kB / 431.1 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3034, allocations: 4 kB / 431.1 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.3036, allocations: 28.97 kB / 431.1 MB, free: 40.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.3039, allocations: 84.78 kB / 431.2 MB, free: 40.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006844/0.3046, allocations: 1.278 MB / 432.5 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.305, allocations: 85.11 kB / 432.6 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.305, allocations: 16.69 kB / 432.6 MB, free: 39.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004516/0.3055, allocations: 314.5 kB / 432.9 MB, free: 39.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003273/0.3058, allocations: 242.9 kB / 433.1 MB, free: 38.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006287/0.3064, allocations: 0.5169 MB / 433.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.3064, allocations: 3 kB / 433.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009575/0.3074, allocations: 0.5632 MB / 434.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.3075, allocations: 91.91 kB / 434.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3075, allocations: 7.188 kB / 434.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.782e-05/0.3076, allocations: 27.12 kB / 434.3 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.308, allocations: 81.83 kB / 434.4 MB, free: 38.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005618/0.3085, allocations: 1.286 MB / 435.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.3089, allocations: 62.58 kB / 435.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.3089, allocations: 17.08 kB / 435.8 MB, free: 36.73 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.0001268/0.3091, allocations: 270.1 kB / 436.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.3091, allocations: 49.59 kB / 436.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009066/0.31, allocations: 0.4924 MB / 436.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3101, allocations: 3.25 kB / 436.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3101, allocations: 0 / 436.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3101, allocations: 3.188 kB / 436.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.3114, allocations: 1.141 MB / 437.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3114, allocations: 3.469 kB / 437.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.3117, allocations: 60.31 kB / 437.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.721e-05/0.3118, allocations: 22.11 kB / 437.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.3118, allocations: 7.312 kB / 437.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005321/0.3124, allocations: 1.276 MB / 439.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3124, allocations: 6.75 kB / 439.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3136, allocations: 0.769 MB / 439.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.3137, allocations: 131.9 kB / 440 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.3138, allocations: 13.95 kB / 440 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.3141, allocations: 41.22 kB / 440.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.3142, allocations: 31.17 kB / 440.1 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3143, allocations: 15.8 kB / 440.1 MB, free: 33.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.3146, allocations: 402.2 kB / 440.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3146, allocations: 0 / 440.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006407/0.3153, allocations: 274.5 kB / 440.8 MB, free: 33.38 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.0007598/0.316, allocations: 380.5 kB / 441.1 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.3176, allocations: 1.165 MB / 442.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3176, allocations: 0 / 442.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.3181, allocations: 424.5 kB / 442.7 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.3186, allocations: 78.33 kB / 442.8 MB, free: 32.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3202, allocations: 1.479 MB / 444.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3205, allocations: 0.893 MB / 445.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.3207, allocations: 64.7 kB / 445.2 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.3208, allocations: 30.16 kB / 445.3 MB, free: 30.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3208, allocations: 3.344 kB / 445.3 MB, free: 30.44 MB / 350.1 MB Notification: Performance of Templates: time 0.009589/0.3304, allocations: 6.511 MB / 451.8 MB, free: 29.88 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)