Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.005733/0.005733, allocations: 97.08 kB / 15.73 MB, free: 6.496 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.001063/0.001063, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1932/0.1932, allocations: 8.02 MB / 298.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.89 kB / 413.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2918, allocations: 51.2 MB / 464.3 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.006051/0.2979, allocations: 4.295 MB / 468.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.3016, allocations: 1.457 MB / 470 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007062/0.3024, allocations: 15.03 kB / 470 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.303, allocations: 158.3 kB / 470.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007777/0.3038, allocations: 209.8 kB / 470.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3049, allocations: 397.3 kB / 470.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.3061, allocations: 0.9011 MB / 471.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007954/0.3069, allocations: 478.5 kB / 472.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.3074, allocations: 346.5 kB / 472.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.308, allocations: 378.8 kB / 472.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.3081, allocations: 99.78 kB / 472.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.3084, allocations: 128.5 kB / 473.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.3087, allocations: 221.3 kB / 473.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.3091, allocations: 429.5 kB / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.3109, allocations: 1.089 MB / 474.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3109, allocations: 0 / 474.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.311, allocations: 0 / 474.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-05/0.311, allocations: 0.7031 kB / 474.8 MB, free: 11.71 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.002302/0.3133, allocations: 1.166 MB / 476 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.3134, allocations: 10.38 kB / 476 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.3136, allocations: 87.05 kB / 476.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.3144, allocations: 0.5203 MB / 476.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.3145, allocations: 54.88 kB / 476.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3146, allocations: 69.75 kB / 476.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.3163, allocations: 0.705 MB / 477.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.3164, allocations: 5.875 kB / 477.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/0.3165, allocations: 40.03 kB / 477.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.3165, allocations: 15.91 kB / 477.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3178, allocations: 0.4984 MB / 478 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/0.3215, allocations: 2.547 MB / 480.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.3225, allocations: 453 kB / 480.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.3229, allocations: 175.6 kB / 481.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.323, allocations: 7.734 kB / 481.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006396/0.3236, allocations: 263 kB / 481.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.3236, allocations: 1.344 kB / 481.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001812/0.3254, allocations: 0.7135 MB / 482.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.3255, allocations: 135.7 kB / 482.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.3265, allocations: 0.573 MB / 482.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.3266, allocations: 36.7 kB / 482.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.3269, allocations: 354.9 kB / 483.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.327, allocations: 121.8 kB / 483.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3272, allocations: 78.88 kB / 483.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3273, allocations: 364.1 kB / 483.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.3277, allocations: 166.7 kB / 483.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.3282, allocations: 259.1 kB / 484.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/0.3291, allocations: 0.55 MB / 484.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3291, allocations: 1.094 kB / 484.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001244/0.3303, allocations: 0.6072 MB / 485.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.3304, allocations: 90.19 kB / 485.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.3304, allocations: 3.625 kB / 485.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.3306, allocations: 25.75 kB / 485.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.331, allocations: 84.27 kB / 485.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009146/0.3319, allocations: 1.388 MB / 486.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.3324, allocations: 82.61 kB / 487 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.3324, allocations: 18.41 kB / 487 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006052/0.333, allocations: 319 kB / 487.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003995/0.3334, allocations: 251.6 kB / 487.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007928/0.3342, allocations: 0.5253 MB / 488.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.3342, allocations: 5.219 kB / 488.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00114/0.3354, allocations: 0.5812 MB / 488.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.3354, allocations: 94.78 kB / 488.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3355, allocations: 2.75 kB / 488.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.994e-05/0.3355, allocations: 22.61 kB / 488.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3358, allocations: 84.84 kB / 488.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006597/0.3365, allocations: 1.392 MB / 490.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.337, allocations: 71.05 kB / 490.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.337, allocations: 18.06 kB / 490.3 MB, free: 15.97 MB / 366.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.000218/0.3372, allocations: 262 kB / 490.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/0.3373, allocations: 55.14 kB / 490.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.3386, allocations: 0.5176 MB / 491.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3386, allocations: 2.844 kB / 491.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3386, allocations: 0 / 491.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.3386, allocations: 1.312 kB / 491.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.3407, allocations: 1.188 MB / 492.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3407, allocations: 0 / 492.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.3411, allocations: 56.02 kB / 492.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.858e-05/0.3412, allocations: 26.38 kB / 492.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.3412, allocations: 7.75 kB / 492.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.3422, allocations: 1.393 MB / 493.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3422, allocations: 3.938 kB / 493.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.3439, allocations: 0.7925 MB / 494.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3441, allocations: 137.9 kB / 494.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.3442, allocations: 12.73 kB / 494.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.3445, allocations: 42.02 kB / 494.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.3447, allocations: 32.53 kB / 494.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.3447, allocations: 15.73 kB / 494.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005992/0.3453, allocations: 412.4 kB / 495.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3454, allocations: 0 / 495.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001049/0.3464, allocations: 291.9 kB / 495.6 MB, free: 11.95 MB / 366.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.0009588/0.3474, allocations: 373.7 kB / 495.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.3496, allocations: 1.187 MB / 497.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3497, allocations: 1.906 kB / 497.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008379/0.3505, allocations: 436.3 kB / 497.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.3514, allocations: 93.39 kB / 497.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.3542, allocations: 1.249 MB / 498.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.3549, allocations: 0.8978 MB / 499.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003274/0.3552, allocations: 63.42 kB / 499.8 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3553, allocations: 47.42 kB / 499.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of SimCode: time 2.715e-06/0.3554, allocations: 0 / 499.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of Templates: time 0.01606/0.3714, allocations: 7.31 MB / 0.4953 GB, free: 1.305 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)