Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001378, allocations: 102.6 kB / 16.23 MB, free: 6.328 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.001575/0.001575, allocations: 185.3 kB / 17.16 MB, free: 5.938 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.343/1.343, allocations: 222.9 MB / 240.8 MB, free: 4.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1805/0.1805, allocations: 8.59 MB / 299.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 361.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09639, allocations: 51.32 MB / 413.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005239/0.1017, allocations: 4.137 MB / 417.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1039, allocations: 1.43 MB / 418.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.1042, allocations: 8 kB / 418.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.1046, allocations: 154.8 kB / 419 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.1052, allocations: 198.5 kB / 419.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.1059, allocations: 387 kB / 419.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.1066, allocations: 0.8378 MB / 420.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.1072, allocations: 495.8 kB / 420.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.1076, allocations: 334.8 kB / 421.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.1079, allocations: 358.4 kB / 421.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.108, allocations: 96 kB / 421.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1082, allocations: 127.9 kB / 421.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1084, allocations: 207.4 kB / 422 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.1088, allocations: 402.1 kB / 422.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008814/0.1097, allocations: 1.024 MB / 423.4 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1097, allocations: 0 / 423.4 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1097, allocations: 0 / 423.4 MB, free: 48 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1097, allocations: 0 / 423.4 MB, free: 48 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.1855/0.2952, allocations: 1.108 MB / 424.5 MB, free: 43.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2952, allocations: 9.625 kB / 424.5 MB, free: 43.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2954, allocations: 80.41 kB / 424.6 MB, free: 43.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.2961, allocations: 0.4957 MB / 425.1 MB, free: 43.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.2962, allocations: 49.47 kB / 425.1 MB, free: 43.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.2963, allocations: 68.53 kB / 425.2 MB, free: 43.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.298, allocations: 0.6721 MB / 425.8 MB, free: 43.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.298, allocations: 7.344 kB / 425.9 MB, free: 43.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/0.2981, allocations: 33.22 kB / 425.9 MB, free: 43.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2981, allocations: 15.77 kB / 425.9 MB, free: 43.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.2996, allocations: 494.9 kB / 426.4 MB, free: 43.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.304, allocations: 2.577 MB / 429 MB, free: 42.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.3053, allocations: 428 kB / 429.4 MB, free: 41.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/0.3059, allocations: 168.2 kB / 429.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.306, allocations: 4.766 kB / 429.6 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008802/0.3069, allocations: 259.9 kB / 429.8 MB, free: 41.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.3069, allocations: 0 / 429.8 MB, free: 41.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.002318/0.3092, allocations: 0.686 MB / 430.5 MB, free: 41.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.3093, allocations: 134.9 kB / 430.6 MB, free: 41.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.3101, allocations: 0.5658 MB / 431.2 MB, free: 40.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.3102, allocations: 32.95 kB / 431.2 MB, free: 40.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.3105, allocations: 339.9 kB / 431.6 MB, free: 40.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.3106, allocations: 104.5 kB / 431.7 MB, free: 40.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3108, allocations: 80.38 kB / 431.7 MB, free: 40.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.3109, allocations: 364.8 kB / 432.1 MB, free: 40.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.3113, allocations: 160.2 kB / 432.2 MB, free: 40.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.3117, allocations: 256.7 kB / 432.5 MB, free: 39.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007416/0.3124, allocations: 0.5255 MB / 433 MB, free: 39.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3124, allocations: 8.688 kB / 433 MB, free: 39.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009844/0.3134, allocations: 0.5846 MB / 433.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.3135, allocations: 99.61 kB / 433.7 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3135, allocations: 3.156 kB / 433.7 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.3136, allocations: 29.22 kB / 433.7 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.3139, allocations: 82.89 kB / 433.8 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007209/0.3147, allocations: 1.377 MB / 435.2 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.3151, allocations: 76.52 kB / 435.3 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.3152, allocations: 19.22 kB / 435.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000468/0.3156, allocations: 318.3 kB / 435.6 MB, free: 37.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003608/0.316, allocations: 243.5 kB / 435.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006551/0.3167, allocations: 0.5175 MB / 436.4 MB, free: 36.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.467e-06/0.3167, allocations: 7.188 kB / 436.4 MB, free: 36.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008859/0.3176, allocations: 0.5584 MB / 436.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.3176, allocations: 94.23 kB / 437 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3176, allocations: 10.02 kB / 437 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.026e-05/0.3177, allocations: 25.95 kB / 437.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.318, allocations: 72.03 kB / 437.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005944/0.3186, allocations: 1.389 MB / 438.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.319, allocations: 63.56 kB / 438.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.319, allocations: 18.81 kB / 438.6 MB, free: 35.1 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,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.0001358/0.3192, allocations: 259.2 kB / 438.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.3192, allocations: 57.56 kB / 438.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009375/0.3202, allocations: 0.498 MB / 439.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3202, allocations: 3.281 kB / 439.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.3202, allocations: 0 / 439.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3202, allocations: 3.281 kB / 439.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.3216, allocations: 1.137 MB / 440.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3217, allocations: 0 / 440.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.3219, allocations: 61.92 kB / 440.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.928e-05/0.322, allocations: 21.48 kB / 440.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.3221, allocations: 9.859 kB / 440.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005817/0.3226, allocations: 1.39 MB / 442 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3227, allocations: 0.625 kB / 442 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3239, allocations: 0.7677 MB / 442.8 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.324, allocations: 127.8 kB / 442.9 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.3241, allocations: 14.5 kB / 442.9 MB, free: 31.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.3244, allocations: 46.45 kB / 443 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.3245, allocations: 30.41 kB / 443 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.3246, allocations: 6.031 kB / 443 MB, free: 31.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.3249, allocations: 408.7 kB / 443.4 MB, free: 31.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3249, allocations: 0 / 443.4 MB, free: 31.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006949/0.3256, allocations: 274.2 kB / 443.7 MB, free: 31.65 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * 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.000763/0.3264, allocations: 373.8 kB / 444 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.328, allocations: 1.158 MB / 445.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.328, allocations: 0 / 445.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.3285, allocations: 433.2 kB / 445.6 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.329, allocations: 88 kB / 445.7 MB, free: 30.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3306, allocations: 1.216 MB / 446.9 MB, free: 29.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3309, allocations: 0.8951 MB / 447.8 MB, free: 29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.3311, allocations: 58.23 kB / 447.9 MB, free: 28.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.3312, allocations: 43.02 kB / 447.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3312, allocations: 0 / 447.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01055/0.3418, allocations: 7.013 MB / 454.9 MB, free: 28.39 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)