Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007162/0.0007161, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004514/0.004514, allocations: 169 kB / 16.26 MB, free: 6.652 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1452/0.1452, allocations: 8.017 MB / 299.5 MB, free: 3.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 11.98 kB / 362.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.09297, allocations: 52.19 MB / 414.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004164/0.09718, allocations: 3.717 MB / 418.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.09909, allocations: 1.38 MB / 419.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.09932, allocations: 11.94 kB / 419.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.09964, allocations: 119.3 kB / 419.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.1, allocations: 163 kB / 420 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.1006, allocations: 350.9 kB / 420.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006128/0.1012, allocations: 0.7476 MB / 421.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.1017, allocations: 402.4 kB / 421.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.1019, allocations: 226.9 kB / 421.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.1022, allocations: 286.5 kB / 421.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.1023, allocations: 28 kB / 422 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1024, allocations: 55.98 kB / 422 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.1026, allocations: 143.4 kB / 422.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.1028, allocations: 343.8 kB / 422.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006899/0.1035, allocations: 0.9264 MB / 423.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1035, allocations: 0 / 423.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1035, allocations: 7.938 kB / 423.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1036, allocations: 0 / 423.4 MB, free: 0.8164 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.1732/0.2768, allocations: 0.9737 MB / 424.4 MB, free: 41.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2768, allocations: 13.62 kB / 424.4 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.277, allocations: 84.39 kB / 424.5 MB, free: 41.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.2776, allocations: 0.4889 MB / 425 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.2777, allocations: 47.41 kB / 425 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/0.2778, allocations: 65.69 kB / 425.1 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.2789, allocations: 0.6667 MB / 425.8 MB, free: 41.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.279, allocations: 0 / 425.8 MB, free: 41.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.279, allocations: 35.06 kB / 425.8 MB, free: 41.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.279, allocations: 14.62 kB / 425.8 MB, free: 41.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/0.28, allocations: 0.4992 MB / 426.3 MB, free: 41.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.2827, allocations: 2.534 MB / 428.9 MB, free: 40.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/0.2835, allocations: 445.8 kB / 429.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.2839, allocations: 189.6 kB / 429.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.284, allocations: 5.047 kB / 429.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.2845, allocations: 280.9 kB / 429.8 MB, free: 40 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.2845, allocations: 0 / 429.8 MB, free: 40 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001437/0.2859, allocations: 0.7266 MB / 430.5 MB, free: 39.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.286, allocations: 136.6 kB / 430.6 MB, free: 39.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.2865, allocations: 0.5558 MB / 431.2 MB, free: 39.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.2865, allocations: 38.7 kB / 431.2 MB, free: 39.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.2867, allocations: 330 kB / 431.5 MB, free: 39.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.547e-05/0.2867, allocations: 109.7 kB / 431.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.2868, allocations: 50.5 kB / 431.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.2869, allocations: 361.8 kB / 432 MB, free: 38.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.2873, allocations: 169.8 kB / 432.2 MB, free: 38.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.2877, allocations: 268.1 kB / 432.5 MB, free: 38.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.2885, allocations: 0.5675 MB / 433 MB, free: 38.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2885, allocations: 3.344 kB / 433 MB, free: 38.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001072/0.2896, allocations: 0.6205 MB / 433.7 MB, free: 38.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.865e-05/0.2897, allocations: 261.1 kB / 433.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2897, allocations: 2.969 kB / 433.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.2899, allocations: 26.45 kB / 433.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.2902, allocations: 91.58 kB / 434 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006533/0.2908, allocations: 1.282 MB / 435.3 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.2912, allocations: 94.61 kB / 435.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2913, allocations: 21.88 kB / 435.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.2913, allocations: 7.219 kB / 435.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008748/0.2922, allocations: 0.5396 MB / 436 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2922, allocations: 0 / 436 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.942e-05/0.2923, allocations: 25.78 kB / 436 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.2925, allocations: 91.55 kB / 436.1 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005297/0.2931, allocations: 1.281 MB / 437.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.2934, allocations: 77.64 kB / 437.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.2935, allocations: 20.31 kB / 437.5 MB, free: 35.01 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.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.0002532/0.2937, allocations: 360.7 kB / 437.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.2938, allocations: 56.75 kB / 437.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009473/0.2948, allocations: 0.5246 MB / 438.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2948, allocations: 3.25 kB / 438.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.2948, allocations: 4 kB / 438.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2948, allocations: 0 / 438.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.2962, allocations: 1.155 MB / 439.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2963, allocations: 0 / 439.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.2965, allocations: 66.53 kB / 439.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-05/0.2966, allocations: 18.23 kB / 439.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.2967, allocations: 13.8 kB / 439.7 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006005/0.2973, allocations: 1.287 MB / 440.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2973, allocations: 4.375 kB / 440.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.2986, allocations: 0.8227 MB / 441.8 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.2987, allocations: 139.8 kB / 441.9 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.2988, allocations: 10.89 kB / 441.9 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2992, allocations: 53.41 kB / 442 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2993, allocations: 34.25 kB / 442 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.2993, allocations: 9.438 kB / 442 MB, free: 31.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000355/0.2997, allocations: 409.3 kB / 442.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2997, allocations: 0 / 442.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006282/0.3003, allocations: 267.5 kB / 442.7 MB, free: 31.58 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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.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.0007637/0.3011, allocations: 364.8 kB / 443 MB, free: 31.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.3028, allocations: 1.209 MB / 444.2 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3028, allocations: 3.281 kB / 444.2 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005652/0.3033, allocations: 443.2 kB / 444.7 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.3039, allocations: 78.95 kB / 444.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.3056, allocations: 1.506 MB / 446.3 MB, free: 29.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3059, allocations: 0.8967 MB / 447.2 MB, free: 28.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.3061, allocations: 58.81 kB / 447.2 MB, free: 28.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.3062, allocations: 40.53 kB / 447.3 MB, free: 28.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3062, allocations: 3.938 kB / 447.3 MB, free: 28.61 MB / 350.1 MB Notification: Performance of Templates: time 0.009361/0.3156, allocations: 6.437 MB / 453.7 MB, free: 28.07 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)