Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001009, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006234/0.006234, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1789/0.1789, allocations: 8.927 MB / 300.4 MB, free: 2.996 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 11.98 kB / 363.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 52.48 MB / 416.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.006739/0.1148, allocations: 4.729 MB / 420.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.118, allocations: 1.461 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/0.1187, allocations: 15.94 kB / 422.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.1192, allocations: 163.2 kB / 422.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006981/0.12, allocations: 194.9 kB / 422.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/0.1208, allocations: 339.1 kB / 422.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.1219, allocations: 0.8727 MB / 423.8 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1742/0.2961, allocations: 472.5 kB / 424.3 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.2967, allocations: 274.3 kB / 424.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.2971, allocations: 338.2 kB / 424.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.2972, allocations: 36.91 kB / 424.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.2974, allocations: 69.38 kB / 425 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2975, allocations: 136.3 kB / 425.1 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.2978, allocations: 378.6 kB / 425.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.2986, allocations: 1.023 MB / 426.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2986, allocations: 1.125 kB / 426.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2986, allocations: 2.969 kB / 426.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.2986, allocations: 0 / 426.5 MB, free: 34.59 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001587/0.3002, allocations: 1.063 MB / 427.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3002, allocations: 11.88 kB / 427.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3004, allocations: 94.56 kB / 427.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.3009, allocations: 0.4982 MB / 428.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.301, allocations: 86.11 kB / 428.3 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.206e-05/0.3011, allocations: 80.28 kB / 428.3 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3024, allocations: 0.7405 MB / 429.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.3024, allocations: 5.781 kB / 429.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.3025, allocations: 31.78 kB / 429.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3025, allocations: 18.88 kB / 429.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.3037, allocations: 0.5634 MB / 429.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.3069, allocations: 2.667 MB / 432.4 MB, free: 32.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/0.3078, allocations: 0.4909 MB / 432.8 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.3082, allocations: 212.6 kB / 433.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.3083, allocations: 15.2 kB / 433.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005872/0.3089, allocations: 292 kB / 433.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/0.3089, allocations: 0 / 433.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001692/0.3106, allocations: 0.8088 MB / 434.2 MB, free: 31.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3107, allocations: 145 kB / 434.3 MB, free: 31.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.3112, allocations: 0.5781 MB / 434.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3113, allocations: 35.8 kB / 434.9 MB, free: 31.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.3115, allocations: 374.2 kB / 435.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.3116, allocations: 123.6 kB / 435.4 MB, free: 31.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.3116, allocations: 48.89 kB / 435.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.3117, allocations: 371.5 kB / 435.8 MB, free: 31.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.3121, allocations: 196.6 kB / 436 MB, free: 31.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.3126, allocations: 328.2 kB / 436.3 MB, free: 30.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.3135, allocations: 0.6281 MB / 437 MB, free: 30.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3135, allocations: 0 / 437 MB, free: 30.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001212/0.3148, allocations: 0.7102 MB / 437.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.3149, allocations: 280.6 kB / 437.9 MB, free: 30.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3149, allocations: 3.562 kB / 437.9 MB, free: 30.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.3151, allocations: 25.95 kB / 438 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.3156, allocations: 114.4 kB / 438.1 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008287/0.3164, allocations: 1.286 MB / 439.4 MB, free: 28.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.3169, allocations: 103.7 kB / 439.5 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.317, allocations: 19.94 kB / 439.5 MB, free: 28.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/0.317, allocations: 2.438 kB / 439.5 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.3181, allocations: 0.6153 MB / 440.1 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3181, allocations: 10.16 kB / 440.1 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.564e-05/0.3182, allocations: 26.91 kB / 440.1 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.3185, allocations: 98.64 kB / 440.2 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005669/0.3191, allocations: 1.284 MB / 441.5 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.3195, allocations: 97.17 kB / 441.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.3196, allocations: 24 kB / 441.6 MB, free: 27.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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 (56): * Single equations (assignments): 52 * 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.0003368/0.3199, allocations: 358 kB / 442 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.32, allocations: 61.56 kB / 442.1 MB, free: 27.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3211, allocations: 0.5848 MB / 442.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3211, allocations: 3.25 kB / 442.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3211, allocations: 0 / 442.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3211, allocations: 3.125 kB / 442.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.3228, allocations: 1.28 MB / 443.9 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3228, allocations: 0 / 443.9 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.3231, allocations: 76.44 kB / 444 MB, free: 26.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.758e-05/0.3232, allocations: 26.22 kB / 444 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.3233, allocations: 7.312 kB / 444 MB, free: 26.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005432/0.3238, allocations: 1.281 MB / 445.3 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3238, allocations: 0.9375 kB / 445.3 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.3253, allocations: 0.8976 MB / 446.2 MB, free: 24.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.3255, allocations: 183.4 kB / 446.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.3255, allocations: 7.094 kB / 446.4 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.3259, allocations: 58.92 kB / 446.5 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.3261, allocations: 34.28 kB / 446.5 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.3261, allocations: 13.41 kB / 446.5 MB, free: 24.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003968/0.3265, allocations: 418.3 kB / 446.9 MB, free: 24.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3265, allocations: 3.469 kB / 446.9 MB, free: 24.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007908/0.3273, allocations: 291.9 kB / 447.2 MB, free: 24.24 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.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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 (34): * Single equations (assignments): 29 * 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.001281/0.3286, allocations: 370 kB / 447.6 MB, free: 24.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.3304, allocations: 1.316 MB / 448.9 MB, free: 23.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3304, allocations: 4.188 kB / 448.9 MB, free: 23.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005781/0.331, allocations: 457.1 kB / 449.3 MB, free: 22.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.3316, allocations: 96.05 kB / 449.4 MB, free: 22.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.3336, allocations: 1.646 MB / 451.1 MB, free: 21.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.3339, allocations: 0.9217 MB / 452 MB, free: 21.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.3342, allocations: 74.06 kB / 452.1 MB, free: 21.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.3343, allocations: 34.12 kB / 452.1 MB, free: 21.16 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3343, allocations: 0 / 452.1 MB, free: 21.16 MB / 350.1 MB Notification: Performance of Templates: time 0.01134/0.3457, allocations: 6.646 MB / 458.7 MB, free: 20.63 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1)