Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.00777/0.007771, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001297/0.001297, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.163/0.163, allocations: 8.027 MB / 298.6 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.89 kB / 413.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2801, allocations: 51.2 MB / 464.3 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005312/0.2854, allocations: 4.105 MB / 468.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.288, allocations: 1.411 MB / 469.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.2884, allocations: 19.06 kB / 469.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.2889, allocations: 144.9 kB / 469.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.2896, allocations: 206.7 kB / 470.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000783/0.2904, allocations: 391.1 kB / 470.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008271/0.2912, allocations: 0.8376 MB / 471.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005795/0.2918, allocations: 449 kB / 471.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.2922, allocations: 315 kB / 472.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.2926, allocations: 358.6 kB / 472.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.2927, allocations: 92.94 kB / 472.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.293, allocations: 121.3 kB / 472.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.2932, allocations: 209.5 kB / 472.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.2935, allocations: 394.9 kB / 473.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.2947, allocations: 1.022 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2947, allocations: 0.7031 kB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2947, allocations: 0 / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.2948, allocations: 1.188 kB / 474.3 MB, free: 11.95 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.00175/0.2965, allocations: 1.094 MB / 475.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2966, allocations: 9.375 kB / 475.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.2967, allocations: 85.06 kB / 475.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.2974, allocations: 0.4996 MB / 476 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.2975, allocations: 47.44 kB / 476 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2976, allocations: 64.66 kB / 476.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2989, allocations: 0.6495 MB / 476.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.2989, allocations: 1.906 kB / 476.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.299, allocations: 26.62 kB / 476.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.299, allocations: 15.22 kB / 476.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3002, allocations: 478.8 kB / 477.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.3037, allocations: 2.49 MB / 479.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009601/0.3047, allocations: 430.6 kB / 480.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.3051, allocations: 172.5 kB / 480.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.3052, allocations: 3.734 kB / 480.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.3057, allocations: 258.8 kB / 480.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.3057, allocations: 0 / 480.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001671/0.3074, allocations: 0.6673 MB / 481.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3075, allocations: 146.4 kB / 481.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008107/0.3083, allocations: 0.5622 MB / 481.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.3083, allocations: 33.7 kB / 482 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.3086, allocations: 338.7 kB / 482.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3087, allocations: 105.4 kB / 482.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.3089, allocations: 76.84 kB / 482.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.309, allocations: 359.5 kB / 482.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.3095, allocations: 163 kB / 483 MB, free: 6.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.31, allocations: 254.2 kB / 483.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/0.3109, allocations: 0.5408 MB / 483.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3109, allocations: 1.281 kB / 483.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001232/0.3122, allocations: 0.5832 MB / 484.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.3122, allocations: 99.31 kB / 484.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.3122, allocations: 4 kB / 484.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.3124, allocations: 22.42 kB / 484.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.3128, allocations: 89.44 kB / 484.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007926/0.3136, allocations: 1.382 MB / 486 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.3141, allocations: 76.75 kB / 486 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3141, allocations: 18.03 kB / 486 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006129/0.3147, allocations: 318.2 kB / 486.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003856/0.3151, allocations: 243.9 kB / 486.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007422/0.3159, allocations: 0.5123 MB / 487.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.3159, allocations: 4 kB / 487.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001043/0.3169, allocations: 0.5668 MB / 487.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.317, allocations: 90.05 kB / 487.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.317, allocations: 7.797 kB / 487.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.161e-05/0.3171, allocations: 21.23 kB / 487.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.3174, allocations: 74.89 kB / 487.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006719/0.3181, allocations: 1.391 MB / 489.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.3185, allocations: 61.83 kB / 489.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.3186, allocations: 17.41 kB / 489.3 MB, free: 0.5781 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.0001906/0.3188, allocations: 271.1 kB / 489.6 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.3189, allocations: 52.12 kB / 489.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.32, allocations: 0.4908 MB / 490.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.32, allocations: 3.406 kB / 490.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.32, allocations: 1.531 kB / 490.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.32, allocations: 0 / 490.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.3219, allocations: 1.132 MB / 491.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3219, allocations: 0 / 491.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.3222, allocations: 53.2 kB / 491.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.77e-05/0.3223, allocations: 22.47 kB / 491.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.3224, allocations: 16.06 kB / 491.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009539/0.3233, allocations: 1.378 MB / 492.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3234, allocations: 1.375 kB / 492.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.3251, allocations: 0.7652 MB / 493.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3252, allocations: 129 kB / 493.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.3253, allocations: 12.25 kB / 493.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.3257, allocations: 41.14 kB / 493.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3258, allocations: 37.39 kB / 493.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3259, allocations: 14.66 kB / 493.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005599/0.3264, allocations: 403.2 kB / 494.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3264, allocations: 0 / 494.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000927/0.3274, allocations: 262.8 kB / 494.4 MB, free: 12.65 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,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.0009482/0.3283, allocations: 366.9 kB / 494.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.3306, allocations: 1.159 MB / 495.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3306, allocations: 0.8125 kB / 495.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.3313, allocations: 435.5 kB / 496.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.332, allocations: 100 kB / 496.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.3343, allocations: 1.177 MB / 497.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.3348, allocations: 0.8915 MB / 498.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.3351, allocations: 67.28 kB / 498.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3352, allocations: 35.31 kB / 498.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3352, allocations: 0 / 498.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of Templates: time 0.01406/0.3492, allocations: 7.073 MB / 0.4938 GB, free: 2.785 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)