Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 107 kB / 15.78 MB, free: 5.484 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.001635/0.001635, allocations: 200.5 kB / 16.73 MB, free: 5.363 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.499/1.499, allocations: 225.6 MB / 243.1 MB, free: 3.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03974/0.03974, allocations: 8.13 MB / 304.1 MB, free: 3.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 68.03 kB / 424.4 MB, free: 156 kB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2823, allocations: 54.07 MB / 478.4 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn): time 0.005966/0.2883, allocations: 4.898 MB / 483.3 MB, free: 20.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004405/0.2927, allocations: 1.971 MB / 485.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006717/0.2933, allocations: 17.72 kB / 485.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.2939, allocations: 240 kB / 485.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007186/0.2947, allocations: 286.3 kB / 485.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.2959, allocations: 0.5476 MB / 486.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.2969, allocations: 1.037 MB / 487.4 MB, free: 17.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.2974, allocations: 374.7 kB / 487.8 MB, free: 17.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.2978, allocations: 400.5 kB / 488.2 MB, free: 17.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.2983, allocations: 462 kB / 488.6 MB, free: 17.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.2985, allocations: 105.7 kB / 488.7 MB, free: 17.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.2989, allocations: 188.1 kB / 488.9 MB, free: 17.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.2991, allocations: 238 kB / 489.2 MB, free: 16.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.2995, allocations: 477.6 kB / 489.6 MB, free: 16.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3009, allocations: 1.248 MB / 490.9 MB, free: 16.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3009, allocations: 1.562 kB / 490.9 MB, free: 16.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3009, allocations: 0 / 490.9 MB, free: 16.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3009, allocations: 0 / 490.9 MB, free: 16.01 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001955/0.3029, allocations: 1.318 MB / 492.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3029, allocations: 19.12 kB / 492.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.3031, allocations: 114.7 kB / 492.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.3039, allocations: 0.6015 MB / 492.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.304, allocations: 56.81 kB / 493 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3041, allocations: 84.58 kB / 493.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.3053, allocations: 0.7131 MB / 493.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.3054, allocations: 8.5 kB / 493.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.3054, allocations: 28.25 kB / 493.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3054, allocations: 16.5 kB / 493.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3066, allocations: 0.5109 MB / 494.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.3101, allocations: 2.651 MB / 497 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3111, allocations: 433.6 kB / 497.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/0.3115, allocations: 165.1 kB / 497.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.3116, allocations: 8.531 kB / 497.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005367/0.3121, allocations: 271.9 kB / 497.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.3121, allocations: 1.031 kB / 497.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001647/0.3138, allocations: 0.7451 MB / 498.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.3138, allocations: 141.3 kB / 498.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/0.3148, allocations: 0.7783 MB / 499.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3148, allocations: 34.05 kB / 499.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.315, allocations: 414.6 kB / 499.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.563e-05/0.3151, allocations: 131.2 kB / 0.4884 GB, free: 10.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3152, allocations: 92.05 kB / 0.4884 GB, free: 10.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.3153, allocations: 380.2 kB / 0.4888 GB, free: 9.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.3157, allocations: 182 kB / 0.489 GB, free: 9.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.3162, allocations: 277.1 kB / 0.4892 GB, free: 9.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/0.317, allocations: 0.5794 MB / 0.4898 GB, free: 9.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3171, allocations: 1.156 kB / 0.4898 GB, free: 9.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001199/0.3183, allocations: 0.6546 MB / 0.4904 GB, free: 8.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.3183, allocations: 94.91 kB / 0.4905 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3183, allocations: 3.188 kB / 0.4905 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.3185, allocations: 23.23 kB / 0.4906 GB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.3189, allocations: 98.19 kB / 0.4907 GB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007543/0.3196, allocations: 1.395 MB / 0.492 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.3201, allocations: 82.83 kB / 0.4921 GB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.3202, allocations: 23 kB / 0.4921 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000564/0.3207, allocations: 367.6 kB / 0.4925 GB, free: 6.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004064/0.3211, allocations: 262 kB / 0.4927 GB, free: 6.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007408/0.3219, allocations: 0.5492 MB / 0.4933 GB, free: 6.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.3219, allocations: 5.406 kB / 0.4933 GB, free: 6.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.00111/0.323, allocations: 0.6348 MB / 0.4939 GB, free: 5.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.323, allocations: 97.81 kB / 0.494 GB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.323, allocations: 7.891 kB / 0.494 GB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.923e-05/0.3231, allocations: 25.47 kB / 0.494 GB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.3235, allocations: 92.84 kB / 0.4941 GB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006412/0.3241, allocations: 1.381 MB / 0.4954 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.3246, allocations: 71.05 kB / 0.4955 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.3246, allocations: 23.16 kB / 0.4955 GB, free: 4.059 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 (tauRef1.count,$PRE.tauRef1.count,tauRef1.T_start,$PRE.tauRef1.T_start,oneFlange.limTau.state,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.0001791/0.3248, allocations: 275 kB / 0.4958 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3249, allocations: 73.12 kB / 0.4959 GB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.326, allocations: 0.5371 MB / 0.4964 GB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.326, allocations: 12.14 kB / 0.4964 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.326, allocations: 0 / 0.4964 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.326, allocations: 4 kB / 0.4964 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.3279, allocations: 1.277 MB / 0.4976 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3279, allocations: 1.156 kB / 0.4977 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.3282, allocations: 59.11 kB / 0.4977 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.3282, allocations: 22.84 kB / 0.4977 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.3283, allocations: 16.66 kB / 0.4977 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005634/0.3288, allocations: 1.366 MB / 0.4991 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3288, allocations: 0 / 0.4991 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.3302, allocations: 0.8339 MB / 0.4999 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.3304, allocations: 196.2 kB / 0.5001 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.3305, allocations: 7.688 kB / 0.5001 GB, free: 252 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.3308, allocations: 47.56 kB / 0.5001 GB, free: 228 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3309, allocations: 38.09 kB / 0.5002 GB, free: 204 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.331, allocations: 13.55 kB / 0.5002 GB, free: 200 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006918/0.3317, allocations: 0.5476 MB / 0.5007 GB, free: 15.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3317, allocations: 1.094 kB / 0.5007 GB, free: 15.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009707/0.3326, allocations: 320.3 kB / 0.501 GB, free: 15.81 MB / 382.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.pDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlange.limTau.state,tauRef1.T_start,tauRef1.count) * Number of discrete states: 2 (tauRef1.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * 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.002383/0.335, allocations: 0.6068 MB / 0.5016 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.3371, allocations: 1.179 MB / 0.5028 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3371, allocations: 1.062 kB / 0.5028 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.3378, allocations: 413.4 kB / 0.5032 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.3384, allocations: 130.1 kB / 0.5033 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3412, allocations: 1.487 MB / 0.5047 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.3419, allocations: 0.9547 MB / 0.5057 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.3422, allocations: 95 kB / 0.5058 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3423, allocations: 49.17 kB / 0.5058 GB, free: 12.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3423, allocations: 0 / 0.5058 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Templates: time 0.0171/0.3594, allocations: 8.482 MB / 0.5141 GB, free: 4.551 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe 2>&1)