Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005477/0.005478, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001264/0.001264, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.465/1.465, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.169/0.169, allocations: 8.016 MB / 298.6 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002296, allocations: 63.91 kB / 360.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1078, allocations: 51.18 MB / 411.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.007103/0.1149, allocations: 4.315 MB / 416.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.1181, allocations: 1.442 MB / 417.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007485/0.1189, allocations: 15.94 kB / 417.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.1196, allocations: 131.2 kB / 417.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1206, allocations: 170.9 kB / 417.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1217, allocations: 347.3 kB / 418.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.1229, allocations: 0.8141 MB / 419 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.1237, allocations: 431.1 kB / 419.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.1242, allocations: 286.8 kB / 419.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.1247, allocations: 350.4 kB / 420.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.1249, allocations: 52 kB / 420.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.1252, allocations: 87.91 kB / 420.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.1254, allocations: 167.4 kB / 420.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.1259, allocations: 386 kB / 420.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.1268, allocations: 0.8381 MB / 421.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1268, allocations: 0 / 421.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1268, allocations: 3.938 kB / 421.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.774e-05/0.1268, allocations: 4 kB / 421.6 MB, free: 1.691 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002176/0.129, allocations: 1.148 MB / 422.7 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1291, allocations: 8.031 kB / 422.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.1293, allocations: 84 kB / 422.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1761/0.3054, allocations: 0.499 MB / 423.3 MB, free: 44.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.3055, allocations: 54.41 kB / 423.4 MB, free: 44.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.3057, allocations: 76.83 kB / 423.4 MB, free: 44.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3073, allocations: 0.705 MB / 424.1 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.3073, allocations: 4.875 kB / 424.2 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.3074, allocations: 29.78 kB / 424.2 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3074, allocations: 15.5 kB / 424.2 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.3086, allocations: 0.5028 MB / 424.7 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.3123, allocations: 2.564 MB / 427.3 MB, free: 42.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.3133, allocations: 436.6 kB / 427.7 MB, free: 42.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.3137, allocations: 181.1 kB / 427.9 MB, free: 42.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.3138, allocations: 6.812 kB / 427.9 MB, free: 42.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007296/0.3145, allocations: 263.1 kB / 428.1 MB, free: 42.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.3145, allocations: 0 / 428.1 MB, free: 42.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001678/0.3162, allocations: 0.7067 MB / 428.8 MB, free: 42.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.3163, allocations: 142.8 kB / 429 MB, free: 42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/0.317, allocations: 0.5677 MB / 429.5 MB, free: 41.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.317, allocations: 32.61 kB / 429.6 MB, free: 41.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.3173, allocations: 350.1 kB / 429.9 MB, free: 41.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/0.3174, allocations: 124.1 kB / 430 MB, free: 41.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3175, allocations: 75.14 kB / 430.1 MB, free: 41.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.3176, allocations: 365.1 kB / 430.5 MB, free: 40.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.318, allocations: 162.8 kB / 430.6 MB, free: 40.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.3184, allocations: 263.8 kB / 430.9 MB, free: 40.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.3193, allocations: 0.5448 MB / 431.4 MB, free: 40.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3193, allocations: 0 / 431.4 MB, free: 40.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001105/0.3204, allocations: 0.6088 MB / 432 MB, free: 40.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.3204, allocations: 97.56 kB / 432.1 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3205, allocations: 3.312 kB / 432.1 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.3206, allocations: 24.33 kB / 432.2 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.321, allocations: 81.47 kB / 432.2 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007602/0.3217, allocations: 1.289 MB / 433.5 MB, free: 38.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.3222, allocations: 80.44 kB / 433.6 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.3223, allocations: 20.91 kB / 433.6 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005339/0.3228, allocations: 323.2 kB / 433.9 MB, free: 38.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003826/0.3232, allocations: 257.4 kB / 434.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007047/0.3239, allocations: 0.5279 MB / 434.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.624e-06/0.3239, allocations: 0 / 434.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009826/0.3249, allocations: 0.5805 MB / 435.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.325, allocations: 89.91 kB / 435.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.325, allocations: 3.344 kB / 435.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.822e-05/0.3251, allocations: 28.62 kB / 435.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.3254, allocations: 75.91 kB / 435.5 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006613/0.3261, allocations: 1.289 MB / 436.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.3265, allocations: 73.33 kB / 436.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.3265, allocations: 12.59 kB / 436.9 MB, free: 36.11 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,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001733/0.3267, allocations: 266.8 kB / 437.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.3268, allocations: 50.62 kB / 437.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3278, allocations: 0.514 MB / 437.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3278, allocations: 4.297 kB / 437.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.3278, allocations: 0 / 437.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3278, allocations: 3.281 kB / 437.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.3294, allocations: 1.193 MB / 438.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3295, allocations: 2.344 kB / 438.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.3298, allocations: 66.41 kB / 439 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.469e-05/0.3299, allocations: 21.31 kB / 439 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.3299, allocations: 11.25 kB / 439 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000618/0.3305, allocations: 1.293 MB / 440.3 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3305, allocations: 3.938 kB / 440.3 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.3319, allocations: 0.7818 MB / 441.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.332, allocations: 136.3 kB / 441.2 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.3321, allocations: 13.94 kB / 441.2 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.3324, allocations: 36.62 kB / 441.3 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3325, allocations: 41.5 kB / 441.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.3326, allocations: 5.844 kB / 441.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003954/0.333, allocations: 415.3 kB / 441.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.333, allocations: 0 / 441.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007657/0.3338, allocations: 288.9 kB / 442 MB, free: 32.73 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.0008336/0.3346, allocations: 366.2 kB / 442.3 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.3363, allocations: 1.191 MB / 443.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3363, allocations: 0.8125 kB / 443.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.3369, allocations: 441.3 kB / 444 MB, free: 31.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.3375, allocations: 82.31 kB / 444.1 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.3395, allocations: 1.527 MB / 445.6 MB, free: 30.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3398, allocations: 0.8967 MB / 446.5 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.34, allocations: 42.33 kB / 446.5 MB, free: 29.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.34, allocations: 0 / 446.5 MB, free: 29.74 MB / 350.1 MB Notification: Performance of Templates: time 0.01136/0.3513, allocations: 10.64 MB / 457.2 MB, free: 28.57 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)