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.001076/0.001076, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001045/0.001045, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1718/0.1718, allocations: 8.328 MB / 298.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 360.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09778, allocations: 51.26 MB / 411.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005641/0.1035, allocations: 4.307 MB / 416.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1056, allocations: 1.426 MB / 417.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.1059, allocations: 12 kB / 417.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.1063, allocations: 127.2 kB / 417.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.1068, allocations: 171 kB / 417.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.1074, allocations: 355.2 kB / 418.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.1082, allocations: 0.8962 MB / 419 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005688/0.1088, allocations: 472.1 kB / 419.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.1091, allocations: 338.8 kB / 419.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.1095, allocations: 386.4 kB / 420.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1096, allocations: 100 kB / 420.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.1098, allocations: 128 kB / 420.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.11, allocations: 207.4 kB / 420.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.1104, allocations: 433.9 kB / 421.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009461/0.1113, allocations: 1.075 MB / 422.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1114, allocations: 0 / 422.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1114, allocations: 4 kB / 422.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1114, allocations: 0 / 422.1 MB, free: 0.5547 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.1751/0.2865, allocations: 1.137 MB / 423.3 MB, free: 44.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.2866, allocations: 9.094 kB / 423.3 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.2867, allocations: 86.34 kB / 423.4 MB, free: 44.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.2874, allocations: 0.5016 MB / 423.9 MB, free: 43.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.2875, allocations: 53.91 kB / 423.9 MB, free: 43.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2877, allocations: 69.08 kB / 424 MB, free: 43.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.2891, allocations: 0.7075 MB / 424.7 MB, free: 43.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.2892, allocations: 7.969 kB / 424.7 MB, free: 43.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.2892, allocations: 35.41 kB / 424.7 MB, free: 43.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.2893, allocations: 18.17 kB / 424.8 MB, free: 43.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2903, allocations: 0.4993 MB / 425.3 MB, free: 43.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.2937, allocations: 2.558 MB / 427.8 MB, free: 42.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/0.2946, allocations: 442.2 kB / 428.2 MB, free: 42.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.295, allocations: 180.1 kB / 428.4 MB, free: 42.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.295, allocations: 7.984 kB / 428.4 MB, free: 42.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.2956, allocations: 262.8 kB / 428.7 MB, free: 41.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.2956, allocations: 0 / 428.7 MB, free: 41.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001537/0.2972, allocations: 0.7094 MB / 429.4 MB, free: 41.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.2972, allocations: 140.3 kB / 429.5 MB, free: 41.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.2978, allocations: 0.5764 MB / 430.1 MB, free: 41.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.2979, allocations: 36.12 kB / 430.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.2981, allocations: 344.2 kB / 430.5 MB, free: 40.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.2982, allocations: 117.8 kB / 430.6 MB, free: 40.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.2983, allocations: 81.09 kB / 430.7 MB, free: 40.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2984, allocations: 365.1 kB / 431 MB, free: 40.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.2988, allocations: 166.2 kB / 431.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.2992, allocations: 258.8 kB / 431.4 MB, free: 40.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.3, allocations: 0.546 MB / 432 MB, free: 39.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3, allocations: 0 / 432 MB, free: 39.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009994/0.301, allocations: 0.6079 MB / 432.6 MB, free: 39.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.3011, allocations: 90.34 kB / 432.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3011, allocations: 5.609 kB / 432.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.3012, allocations: 25.34 kB / 432.7 MB, free: 39.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.3016, allocations: 86.98 kB / 432.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007419/0.3023, allocations: 1.389 MB / 434.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.3027, allocations: 77.3 kB / 434.3 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.3028, allocations: 20.31 kB / 434.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004751/0.3033, allocations: 325.6 kB / 434.6 MB, free: 37.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003565/0.3036, allocations: 249.6 kB / 434.8 MB, free: 37.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006743/0.3043, allocations: 0.5266 MB / 435.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.3043, allocations: 3.031 kB / 435.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009171/0.3052, allocations: 0.576 MB / 436 MB, free: 36.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.3053, allocations: 95.31 kB / 436 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3053, allocations: 12.64 kB / 436.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.239e-05/0.3054, allocations: 21.11 kB / 436.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.3057, allocations: 87.77 kB / 436.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006336/0.3063, allocations: 1.389 MB / 437.6 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.3067, allocations: 61.47 kB / 437.6 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.3068, allocations: 16.75 kB / 437.6 MB, free: 35.3 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.000166/0.3069, allocations: 269.6 kB / 437.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.307, allocations: 58.75 kB / 438 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009868/0.308, allocations: 0.5002 MB / 438.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.308, allocations: 6.562 kB / 438.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.308, allocations: 3.828 kB / 438.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.308, allocations: 7.938 kB / 438.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3095, allocations: 1.179 MB / 439.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3096, allocations: 0 / 439.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.3099, allocations: 66.89 kB / 439.7 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.841e-05/0.3099, allocations: 21.44 kB / 439.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.31, allocations: 10.09 kB / 439.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000621/0.3106, allocations: 1.384 MB / 441.1 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3106, allocations: 0 / 441.1 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.312, allocations: 0.7934 MB / 441.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.3121, allocations: 139.3 kB / 442.1 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.3121, allocations: 13.94 kB / 442.1 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.3125, allocations: 47.25 kB / 442.1 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3126, allocations: 31.05 kB / 442.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.3127, allocations: 13.58 kB / 442.2 MB, free: 32.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003627/0.313, allocations: 414.6 kB / 442.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.313, allocations: 4 kB / 442.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000699/0.3138, allocations: 282.3 kB / 442.8 MB, free: 31.81 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.0009741/0.3147, allocations: 368.6 kB / 443.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.3166, allocations: 1.202 MB / 444.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3166, allocations: 0 / 444.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.3172, allocations: 443.9 kB / 444.8 MB, free: 30.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.3178, allocations: 92.86 kB / 444.9 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.3199, allocations: 1.501 MB / 446.4 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3204, allocations: 0.9047 MB / 447.3 MB, free: 28.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002377/0.3206, allocations: 58.06 kB / 447.4 MB, free: 28.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3207, allocations: 41.88 kB / 447.4 MB, free: 28.83 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3207, allocations: 0 / 447.4 MB, free: 28.83 MB / 350.1 MB Notification: Performance of Templates: time 0.01099/0.3317, allocations: 7.033 MB / 454.5 MB, free: 28.25 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)