Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001004/0.001004, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001012/0.001011, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1357/0.1357, allocations: 8.024 MB / 298 MB, free: 2.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.88 kB / 359.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 51.2 MB / 411.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005442/0.1077, allocations: 4.301 MB / 415.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1101, allocations: 1.458 MB / 416.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.1104, allocations: 15.94 kB / 416.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.1109, allocations: 111.3 kB / 417 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.1113, allocations: 174.9 kB / 417.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006504/0.112, allocations: 351.6 kB / 417.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.1127, allocations: 0.8102 MB / 418.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.1133, allocations: 431.1 kB / 418.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1136, allocations: 282.9 kB / 419 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.1139, allocations: 354.3 kB / 419.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.293e-05/0.114, allocations: 52 kB / 419.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1142, allocations: 79.98 kB / 419.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.1144, allocations: 183.3 kB / 419.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.1147, allocations: 374 kB / 420.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.1155, allocations: 1.024 MB / 421.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1155, allocations: 4 kB / 421.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1155, allocations: 0 / 421.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1155, allocations: 0 / 421.1 MB, free: 1.562 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.001945/0.1175, allocations: 1.148 MB / 422.2 MB, free: 356 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1175, allocations: 8.031 kB / 422.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1177, allocations: 87.94 kB / 422.3 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1666/0.2843, allocations: 0.5023 MB / 422.8 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.2843, allocations: 56.34 kB / 422.9 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2845, allocations: 69.47 kB / 423 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2857, allocations: 0.7027 MB / 423.7 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.2857, allocations: 5.562 kB / 423.7 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.2858, allocations: 32.14 kB / 423.7 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2858, allocations: 16.09 kB / 423.7 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009913/0.2868, allocations: 0.5075 MB / 424.2 MB, free: 44.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.2897, allocations: 2.559 MB / 426.8 MB, free: 42.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008383/0.2906, allocations: 444 kB / 427.2 MB, free: 42.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.2909, allocations: 170.9 kB / 427.4 MB, free: 42.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.291, allocations: 4.25 kB / 427.4 MB, free: 42.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.2915, allocations: 264.5 kB / 427.6 MB, free: 42.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.604e-06/0.2916, allocations: 0 / 427.6 MB, free: 42.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001394/0.293, allocations: 0.7131 MB / 428.4 MB, free: 42.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.293, allocations: 141.1 kB / 428.5 MB, free: 42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.2935, allocations: 0.5667 MB / 429.1 MB, free: 41.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2936, allocations: 39.86 kB / 429.1 MB, free: 41.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2937, allocations: 350.7 kB / 429.4 MB, free: 41.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.2938, allocations: 115.2 kB / 429.6 MB, free: 41.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2939, allocations: 76.8 kB / 429.6 MB, free: 41.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.294, allocations: 360.2 kB / 430 MB, free: 40.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.2944, allocations: 165.4 kB / 430.1 MB, free: 40.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.2947, allocations: 269.7 kB / 430.4 MB, free: 40.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.2955, allocations: 0.5399 MB / 430.9 MB, free: 40.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.2955, allocations: 3.031 kB / 431 MB, free: 40.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009654/0.2964, allocations: 0.6029 MB / 431.6 MB, free: 40.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.2965, allocations: 97.06 kB / 431.6 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2965, allocations: 3.438 kB / 431.7 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.2967, allocations: 25.22 kB / 431.7 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.297, allocations: 89.77 kB / 431.8 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000706/0.2977, allocations: 1.288 MB / 433.1 MB, free: 38.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.2981, allocations: 79.64 kB / 433.1 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.2982, allocations: 17.66 kB / 433.1 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004591/0.2986, allocations: 324.1 kB / 433.5 MB, free: 38.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003502/0.299, allocations: 249.9 kB / 433.7 MB, free: 38.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006559/0.2996, allocations: 0.5291 MB / 434.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.594e-06/0.2997, allocations: 3.078 kB / 434.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008771/0.3005, allocations: 0.5814 MB / 434.8 MB, free: 37.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.3006, allocations: 90.16 kB / 434.9 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.3006, allocations: 3.312 kB / 434.9 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.882e-05/0.3007, allocations: 29.34 kB / 434.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.3009, allocations: 82.44 kB / 435 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005475/0.3015, allocations: 1.29 MB / 436.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.3019, allocations: 73.22 kB / 436.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3019, allocations: 16.78 kB / 436.4 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.000137/0.302, allocations: 266.3 kB / 436.7 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.3021, allocations: 48.09 kB / 436.7 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/0.303, allocations: 0.5104 MB / 437.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.303, allocations: 3.125 kB / 437.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3031, allocations: 4 kB / 437.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3031, allocations: 3.469 kB / 437.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.3046, allocations: 1.19 MB / 438.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3046, allocations: 4 kB / 438.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.3048, allocations: 60.86 kB / 438.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-05/0.3049, allocations: 22.23 kB / 438.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.305, allocations: 10.56 kB / 438.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005429/0.3055, allocations: 1.288 MB / 439.8 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3055, allocations: 3.938 kB / 439.8 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3068, allocations: 0.7858 MB / 440.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.3068, allocations: 141.1 kB / 440.7 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.3069, allocations: 13.84 kB / 440.7 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.3073, allocations: 46.47 kB / 440.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.3074, allocations: 29.75 kB / 440.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.3074, allocations: 12.59 kB / 440.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003478/0.3077, allocations: 415.4 kB / 441.2 MB, free: 32.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3077, allocations: 0 / 441.2 MB, free: 32.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006506/0.3084, allocations: 283.2 kB / 441.5 MB, free: 32.72 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.0007692/0.3092, allocations: 361.8 kB / 441.9 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.3107, allocations: 1.195 MB / 443.1 MB, free: 31.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3107, allocations: 0 / 443.1 MB, free: 31.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.3112, allocations: 442.7 kB / 443.5 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.3118, allocations: 86.02 kB / 443.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3137, allocations: 1.515 MB / 445.1 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3141, allocations: 0.9007 MB / 446 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.3143, allocations: 64.2 kB / 446.1 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.3144, allocations: 30.09 kB / 446.1 MB, free: 29.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3144, allocations: 3.188 kB / 446.1 MB, free: 29.73 MB / 350.1 MB Notification: Performance of Templates: time 0.009769/0.3242, allocations: 6.707 MB / 452.8 MB, free: 29.16 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)