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.001094/0.001094, allocations: 91.53 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.008598/0.008598, allocations: 172.8 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.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1441/0.1441, allocations: 7.673 MB / 299.1 MB, free: 3.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8 kB / 362 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 52.16 MB / 414.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn): time 0.006011/0.1133, allocations: 4.425 MB / 418.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.117, allocations: 1.909 MB / 420.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004014/0.1174, allocations: 15.94 kB / 420.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.118, allocations: 199 kB / 420.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.1185, allocations: 234.8 kB / 420.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1196, allocations: 0.491 MB / 421.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.1206, allocations: 0.939 MB / 422.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000762/0.1214, allocations: 491.1 kB / 422.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.1218, allocations: 294.5 kB / 423.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.1222, allocations: 358.1 kB / 423.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.1223, allocations: 32 kB / 423.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.1226, allocations: 115.9 kB / 423.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.1229, allocations: 167.2 kB / 423.8 MB, free: 480 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.1232, allocations: 415.3 kB / 424.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1632/0.2865, allocations: 1.123 MB / 425.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2865, allocations: 0 / 425.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2865, allocations: 2.344 kB / 425.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.2865, allocations: 0 / 425.3 MB, free: 35.67 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: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001623/0.2882, allocations: 1.138 MB / 426.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2882, allocations: 12.53 kB / 426.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.2884, allocations: 102.2 kB / 426.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.289, allocations: 0.598 MB / 427.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.289, allocations: 54.91 kB / 427.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.2891, allocations: 71.09 kB / 427.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2904, allocations: 0.7391 MB / 428 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.2904, allocations: 0.75 kB / 428 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/0.2905, allocations: 31.75 kB / 428.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2905, allocations: 15.34 kB / 428.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.2916, allocations: 0.5485 MB / 428.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.2947, allocations: 2.694 MB / 431.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.2956, allocations: 486.7 kB / 431.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.296, allocations: 201.6 kB / 432 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.2961, allocations: 6.5 kB / 432 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005645/0.2966, allocations: 292.7 kB / 432.3 MB, free: 33.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.2966, allocations: 3.031 kB / 432.3 MB, free: 33.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001656/0.2983, allocations: 0.7884 MB / 433.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.2984, allocations: 141.9 kB / 433.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007963/0.2992, allocations: 0.7805 MB / 434 MB, free: 32.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.2992, allocations: 39.33 kB / 434 MB, free: 32.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2994, allocations: 407.1 kB / 434.4 MB, free: 32.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.2995, allocations: 124.8 kB / 434.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.2996, allocations: 45.73 kB / 434.6 MB, free: 32.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.2997, allocations: 383.2 kB / 435 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.3001, allocations: 187.6 kB / 435.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.3006, allocations: 295.4 kB / 435.4 MB, free: 32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/0.3015, allocations: 0.6059 MB / 436 MB, free: 31.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3015, allocations: 3.781 kB / 436 MB, free: 31.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001168/0.3027, allocations: 0.6837 MB / 436.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.317e-05/0.3028, allocations: 270.5 kB / 437 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3028, allocations: 3.188 kB / 437 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.3029, allocations: 31.56 kB / 437 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.3033, allocations: 98.36 kB / 437.1 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006355/0.3039, allocations: 1.29 MB / 438.4 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.3044, allocations: 93.64 kB / 438.5 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.3044, allocations: 22.61 kB / 438.5 MB, free: 29.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.3044, allocations: 7.094 kB / 438.5 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/0.3054, allocations: 0.5804 MB / 439.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3055, allocations: 5.438 kB / 439.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-05/0.3055, allocations: 31.56 kB / 439.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.3059, allocations: 97.5 kB / 439.2 MB, free: 29.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006326/0.3065, allocations: 1.289 MB / 440.5 MB, free: 28.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.3069, allocations: 83.61 kB / 440.6 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.307, allocations: 19.34 kB / 440.6 MB, free: 28.55 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 (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.0003477/0.3073, allocations: 393.5 kB / 441 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.3074, allocations: 71.91 kB / 441.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3085, allocations: 0.5726 MB / 441.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3085, allocations: 6.188 kB / 441.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3085, allocations: 0 / 441.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3085, allocations: 4.656 kB / 441.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.3102, allocations: 1.295 MB / 443 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3102, allocations: 0 / 443 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.3105, allocations: 83.09 kB / 443 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/0.3106, allocations: 20.14 kB / 443.1 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3107, allocations: 10.75 kB / 443.1 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005498/0.3112, allocations: 1.285 MB / 444.4 MB, free: 26.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3112, allocations: 6.531 kB / 444.4 MB, free: 26.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3127, allocations: 0.865 MB / 445.2 MB, free: 26.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.3128, allocations: 197.8 kB / 445.4 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.3129, allocations: 14.09 kB / 445.4 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.3133, allocations: 59.53 kB / 445.5 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.3134, allocations: 31.19 kB / 445.5 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.3134, allocations: 9.531 kB / 445.5 MB, free: 25.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005342/0.314, allocations: 0.5495 MB / 446.1 MB, free: 25.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.314, allocations: 3.156 kB / 446.1 MB, free: 25.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007482/0.3147, allocations: 317.5 kB / 446.4 MB, free: 25.59 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: 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.002281/0.317, allocations: 0.6023 MB / 447 MB, free: 25.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.3188, allocations: 1.27 MB / 448.3 MB, free: 24.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3188, allocations: 0 / 448.3 MB, free: 24.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.3194, allocations: 463.6 kB / 448.7 MB, free: 24.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.32, allocations: 119.1 kB / 448.8 MB, free: 24.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.3221, allocations: 1.842 MB / 450.7 MB, free: 23.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3224, allocations: 0.9545 MB / 451.6 MB, free: 22.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.3227, allocations: 86.05 kB / 451.7 MB, free: 22.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3228, allocations: 44.64 kB / 451.8 MB, free: 22.36 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3228, allocations: 0 / 451.8 MB, free: 22.36 MB / 350.1 MB Notification: Performance of Templates: time 0.01269/0.3355, allocations: 7.75 MB / 459.5 MB, free: 21.71 MB / 350.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)